summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
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