Added test scenario for https://github.com/ruby/ruby/pull/11322
This commit is contained in:
parent
7e0910a82c
commit
da8cf99cb5
@ -55,3 +55,7 @@ echo
|
||||
echo "* Show warning when warn is not the standard one in the current scope"
|
||||
ruby test_warn_redefined.rb
|
||||
echo
|
||||
|
||||
echo "* Show warning with bootsnap and some gem in Gemfile"
|
||||
ruby test_warn_bootsnap_and_gem.rb
|
||||
echo
|
||||
|
@ -0,0 +1,11 @@
|
||||
require "bundler/inline"
|
||||
|
||||
gemfile do
|
||||
source "https://rubygems.org"
|
||||
gem "bootsnap", require: false
|
||||
gem "childprocess", "5.0.0", require: false # Has undeclared logger dependency
|
||||
end
|
||||
|
||||
ENV["BOOTSNAP_CACHE_DIR"] ||= "tmp/cache/bootsnap"
|
||||
require "bootsnap/setup"
|
||||
require "childprocess"
|
Loading…
x
Reference in New Issue
Block a user