[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
This commit is contained in:
parent
8c79486e7e
commit
c044f818ca
Notes:
git
2021-08-31 19:07:00 +09:00
@ -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…
x
Reference in New Issue
Block a user