summaryrefslogtreecommitdiff
path: root/lib/bundled_gems.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/bundled_gems.rb')
-rw-r--r--lib/bundled_gems.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/bundled_gems.rb b/lib/bundled_gems.rb
index e2a0456b18..0cd3805bd9 100644
--- a/lib/bundled_gems.rb
+++ b/lib/bundled_gems.rb
@@ -102,6 +102,8 @@ module Gem::BUNDLED_GEMS
else
return
end
+ # Warning feature is not working correctly with Bootsnap
+ return if caller_locations(2,1)[0]&.path.match?(/bootsnap/)
return if WARNED[name]
WARNED[name] = true
if gem == true