summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2024-01-19 16:08:38 +0900
committerTakashi Kokubun <takashikkbn@gmail.com>2024-05-28 13:29:22 -0700
commit121cec845a0c3d3529ebfdebafb339dddbfdeb90 (patch)
tree7b2cd37a7faa330f4e5a1e2e2050e3aab757cd19
parent0b3a2cf5d33688378a0d947f1623879838fb9c4c (diff)
Ignore warnings on the bundled gems repo
-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 a8ea9fe211..bc879ff982 100644
--- a/lib/bundled_gems.rb
+++ b/lib/bundled_gems.rb
@@ -106,7 +106,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