[rubygems/rubygems] Avoid now unnecessary reset
https://github.com/rubygems/rubygems/commit/511c7b211b
This commit is contained in:
parent
72e80c8f29
commit
155989415b
@ -57,8 +57,6 @@ to the same gem path as user-installed gems.
|
||||
end
|
||||
|
||||
def execute
|
||||
gem_paths = { "GEM_HOME" => Gem.paths.home, "GEM_PATH" => Gem.paths.path.join(File::PATH_SEPARATOR), "GEM_SPEC_CACHE" => Gem.paths.spec_cache_dir }.compact
|
||||
|
||||
check_executable
|
||||
|
||||
print_command
|
||||
@ -74,9 +72,6 @@ to the same gem path as user-installed gems.
|
||||
end
|
||||
|
||||
load!
|
||||
ensure
|
||||
ENV.update(gem_paths) if gem_paths
|
||||
Gem.clear_paths
|
||||
end
|
||||
|
||||
private
|
||||
|
Loading…
x
Reference in New Issue
Block a user