diff options
author | David RodrÃguez <[email protected]> | 2021-08-21 17:39:42 +0200 |
---|---|---|
committer | Hiroshi SHIBATA <[email protected]> | 2021-08-31 19:06:14 +0900 |
commit | c044f818ca47511dceefcdddba64e4f144e8c731 (patch) | |
tree | 634ff1c5f747be8150c6f09b689b4b7e0586708e /lib/bundler.rb | |
parent | 8c79486e7e5682cc3a7da43050ee578a9c4b0f77 (diff) |
[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
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/4789
Diffstat (limited to 'lib/bundler.rb')
-rw-r--r-- | lib/bundler.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler.rb b/lib/bundler.rb index 2d5bbafee5..d646cb08ee 100644 --- a/lib/bundler.rb +++ b/lib/bundler.rb @@ -659,6 +659,7 @@ EOF 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 def configure_gem_home Bundler::SharedHelpers.set_env "GEM_HOME", bundle_path.to_s - Bundler.rubygems.clear_paths end def tmp_home_path |