File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -1601,7 +1601,8 @@ no-install-for-test-bundled-gems: no-update-default-gemspecs
16011601yes-install-for-test-bundled-gems: yes-update-default-gemspecs
16021602 $(XRUBY) -C "$(srcdir)" -r./tool/lib/gem_env.rb bin/gem \
16031603 install --no-document --conservative \
1604- "hoe" "json-schema" "test-unit-rr" "simplecov" "simplecov-html" "simplecov-json" "rspec" "zeitwerk"
1604+ "hoe" "json-schema" "test-unit-rr" "simplecov" "simplecov-html" "simplecov-json" "rspec" "zeitwerk" \
1605+ "sinatra" "rack" "tilt" "mustermann" "base64" "compact_index" "rack-test"
16051606
16061607test-bundled-gems-fetch: yes-test-bundled-gems-fetch
16071608yes-test-bundled-gems-fetch:
Original file line number Diff line number Diff line change @@ -27,6 +27,11 @@ def self.ruby=(ruby)
2727
2828 config . around ( :each ) do |example |
2929 FileUtils . cp_r Spec ::Path . pristine_system_gem_path , Spec ::Path . system_gem_path
30+ FileUtils . mkdir_p Spec ::Path . base_system_gem_path . join ( "gems" )
31+ %w[ sinatra rack tilt rack-protection rack-session rack-test mustermann base64 compact_index ] . each do |gem |
32+ path = Dir [ File . expand_path ( "../.bundle/gems/#{ gem } -*" , __dir__ ) ] . map ( &:to_s ) . first
33+ FileUtils . cp_r path , Spec ::Path . base_system_gem_path . join ( "gems" )
34+ end
3035
3136 with_gem_path_as ( system_gem_path ) do
3237 Bundler . ui . silence { example . run }
You can’t perform that action at this time.
0 commit comments