mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 16:44:01 +02:00
[rubygems/rubygems] Move Bundler.rubygems.clear_paths
to a better place
Since it clears both home and path.
fadf5e03ea
This commit is contained in:
parent
8c79486e7e
commit
c044f818ca
Notes:
git
2021-08-31 19:07:00 +09:00
1 changed files with 1 additions and 1 deletions
|
@ -659,6 +659,7 @@ EOF
|
||||||
def configure_gem_home_and_path
|
def configure_gem_home_and_path
|
||||||
configure_gem_path
|
configure_gem_path
|
||||||
configure_gem_home
|
configure_gem_home
|
||||||
|
Bundler.rubygems.clear_paths
|
||||||
end
|
end
|
||||||
|
|
||||||
def configure_gem_path
|
def configure_gem_path
|
||||||
|
@ -672,7 +673,6 @@ EOF
|
||||||
|
|
||||||
def configure_gem_home
|
def configure_gem_home
|
||||||
Bundler::SharedHelpers.set_env "GEM_HOME", bundle_path.to_s
|
Bundler::SharedHelpers.set_env "GEM_HOME", bundle_path.to_s
|
||||||
Bundler.rubygems.clear_paths
|
|
||||||
end
|
end
|
||||||
|
|
||||||
def tmp_home_path
|
def tmp_home_path
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue