This commit is contained in:
Hiroshi SHIBATA 2024-08-08 16:23:49 +09:00
parent 7e0910a82c
commit da8cf99cb5
No known key found for this signature in database
GPG Key ID: F9CF13417264FAC2
2 changed files with 15 additions and 0 deletions

View File

@ -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

View File

@ -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"