diff --git a/common.mk b/common.mk index 6fe77fba78..a6a3f2381e 100644 --- a/common.mk +++ b/common.mk @@ -1412,8 +1412,7 @@ yes-test-bundler-precheck: main no-test-bundler-prepare: no-test-bundler-precheck yes-test-bundler-prepare: yes-test-bundler-precheck $(ACTIONS_GROUP) - $(XRUBY) -C "$(srcdir)" bin/gem install --no-document \ - --install-dir .bundle --conservative "rspec:~> 3.8" "rake:~> 13.0" "parallel_tests:~> 2.29" + $(XRUBY) -C $(srcdir) -Ilib -e 'ENV["GEM_HOME"] = File.expand_path(".bundle"); ENV["BUNDLE_APP_CONFIG"] = File.expand_path(".bundle"); ENV["BUNDLE_PATH__SYSTEM"] = "true"; ENV["BUNDLE_WITHOUT"] = "lint doc"; load "spec/bundler/support/bundle.rb"' -- install --gemfile=tool/bundler/dev_gems.rb $(ACTIONS_ENDGROUP) RSPECOPTS =