Ignore warnings on the bundled gems repo

This commit is contained in:
Hiroshi SHIBATA 2024-01-19 16:08:38 +09:00
parent ce395d7e90
commit 25e28559c1

View File

@ -110,7 +110,7 @@ module Gem::BUNDLED_GEMS
return if specs.include?(gem)
caller = caller_locations(3, 3).find {|c| c&.absolute_path}
return if find_gem(caller&.absolute_path)
elsif SINCE[name]
elsif SINCE[name] && !path
gem = true
else
return