Remove old bundle.rb script usage

This commit is contained in:
David Rodríguez 2025-06-27 10:16:19 +02:00 committed by Hiroshi SHIBATA
parent 4126c1c522
commit f679202a0f
2 changed files with 6 additions and 6 deletions

View file

@ -1671,12 +1671,8 @@ test-bundler-prepare: $(TEST_RUNNABLE)-test-bundler-prepare
no-test-bundler-prepare: no-test-bundler-precheck
yes-test-bundler-prepare: yes-test-bundler-precheck
$(ACTIONS_GROUP)
$(XRUBY) -C $(srcdir) -Ilib \
-e 'ENV["GEM_HOME"] = File.expand_path(".bundle")' \
-e 'ENV["BUNDLE_APP_CONFIG"] = File.expand_path(".bundle")' \
-e 'ENV["BUNDLE_PATH__SYSTEM"] = "true"' \
-e 'ENV["BUNDLE_WITHOUT"] = "lint doc"' \
-e 'load "spec/bundler/support/bundle.rb"' -- install --quiet --gemfile=tool/bundler/dev_gems.rb
$(XRUBY) -C $(srcdir) -Ilib -r./tool/lib/bundle_env.rb \
spec/bin/bundle install --quiet --gemfile=tool/bundler/dev_gems.rb
$(ACTIONS_ENDGROUP)
RSPECOPTS = -r formatter_overrides

4
tool/lib/bundle_env.rb Normal file
View file

@ -0,0 +1,4 @@
ENV["GEM_HOME"] = File.expand_path("../../.bundle", __dir__)
ENV["BUNDLE_APP_CONFIG"] = File.expand_path("../../.bundle", __dir__)
ENV["BUNDLE_PATH__SYSTEM"] = "true"
ENV["BUNDLE_WITHOUT"] = "lint doc"