ruby-changes:67469
From: David <ko1@a...>
Date: Tue, 31 Aug 2021 19:07:46 +0900 (JST)
Subject: [ruby-changes:67469] c044f818ca (master): [rubygems/rubygems] Move `Bundler.rubygems.clear_paths` to a better place
https://git.ruby-lang.org/ruby.git/commit/?id=c044f818ca From c044f818ca47511dceefcdddba64e4f144e8c731 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Rodr=C3=ADguez?= <deivid.rodriguez@r...> Date: Sat, 21 Aug 2021 17:39:42 +0200 Subject: [rubygems/rubygems] Move `Bundler.rubygems.clear_paths` to a better place Since it clears both home and path. https://github.com/rubygems/rubygems/commit/fadf5e03ea --- lib/bundler.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/bundler.rb b/lib/bundler.rb index 2d5bbaf..d646cb0 100644 --- a/lib/bundler.rb +++ b/lib/bundler.rb @@ -659,6 +659,7 @@ EOF https://github.com/ruby/ruby/blob/trunk/lib/bundler.rb#L659 def configure_gem_home_and_path configure_gem_path configure_gem_home + Bundler.rubygems.clear_paths end def configure_gem_path @@ -672,7 +673,6 @@ EOF https://github.com/ruby/ruby/blob/trunk/lib/bundler.rb#L673 def configure_gem_home Bundler::SharedHelpers.set_env "GEM_HOME", bundle_path.to_s - Bundler.rubygems.clear_paths end def tmp_home_path -- cgit v1.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/