[前][次][番号順一覧][スレッド一覧]

ruby-changes:71058

From: David <ko1@a...>
Date: Tue, 1 Feb 2022 08:09:41 +0900 (JST)
Subject: [ruby-changes:71058] e53af7d1fb (master): Tweaks to freeze bundler CI

https://git.ruby-lang.org/ruby.git/commit/?id=e53af7d1fb

From e53af7d1fbcca4fba6e9099b2bf935dc92267607 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?David=20Rodr=C3=ADguez?= <deivid.rodriguez@r...>
Date: Mon, 31 Jan 2022 17:49:03 +0100
Subject: Tweaks to freeze bundler CI

Currently some specs are broken because `rspec-mocks-3.10.3` is used,
which has some breaking changes, apparently.

This change makes ruby-core install the same gems installed upstream for
running bundle specs, so that things never break with 3rd party
releases.
---
 common.mk | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/common.mk b/common.mk
index 6fe77fba788..a6a3f2381ea 100644
--- a/common.mk
+++ b/common.mk
@@ -1412,8 +1412,7 @@ yes-test-bundler-precheck: main https://github.com/ruby/ruby/blob/trunk/common.mk#L1412
 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 =
-- 
cgit v1.2.1


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]