summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2024-01-19 16:08:38 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2024-04-03 18:07:31 +0900
commit25e28559c14138318ff3097baececa16e13252b0 (patch)
tree0e388fede4dcefe4a4b8daa274d9dbbe859f7672 /lib
parentce395d7e90529ddf970bf36106e636831c9f1650 (diff)
Ignore warnings on the bundled gems repo
Diffstat (limited to 'lib')
-rw-r--r--lib/bundled_gems.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundled_gems.rb b/lib/bundled_gems.rb
index ed4138f0d9..f3e1708e23 100644
--- a/lib/bundled_gems.rb
+++ b/lib/bundled_gems.rb
@@ -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