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

ruby-changes:56785

From: Hiroshi <ko1@a...>
Date: Sat, 3 Aug 2019 18:00:32 +0900 (JST)
Subject: [ruby-changes:56785] Hiroshi SHIBATA: d4b1804b11 (master): [bundler/bundler] Removed the environmental variables that are BUNDLE_USER_*.

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

From d4b1804b11310a3c2303367dcd4ec73aae419ee1 Mon Sep 17 00:00:00 2001
From: Hiroshi SHIBATA <hsbt@r...>
Date: Fri, 19 Jul 2019 17:23:42 +0900
Subject: [bundler/bundler] Removed the environmental variables that are
 BUNDLE_USER_*.

  It's affect with rspec examples and broke them.

https://github.com/bundler/bundler/commit/355a922073

diff --git a/spec/bundler/spec_helper.rb b/spec/bundler/spec_helper.rb
index e3af0f5..3f12b27 100644
--- a/spec/bundler/spec_helper.rb
+++ b/spec/bundler/spec_helper.rb
@@ -101,6 +101,7 @@ RSpec.configure do |config| https://github.com/ruby/ruby/blob/trunk/spec/bundler/spec_helper.rb#L101
     Spec::Rubygems.setup
     ENV["RUBYOPT"] = "#{ENV["RUBYOPT"]} -r#{Spec::Path.spec_dir}/support/hax.rb"
     ENV["BUNDLE_SPEC_RUN"] = "true"
+    ENV["BUNDLE_USER_CONFIG"] = ENV["BUNDLE_USER_CACHE"] = ENV["BUNDLE_USER_PLUGIN"] = nil
 
     # Don't wrap output in tests
     ENV["THOR_COLUMNS"] = "10000"
-- 
cgit v0.10.2


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

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