Skip warning feature with Bootsnap
Bootsnap modified full feature path to require. We can't handle it for warning correctly.
This commit is contained in:
parent
75c40802cb
commit
8b0c626962
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user