[rubygems/rubygems] Don't modify ENV when installing realworld gems
https://github.com/rubygems/rubygems/commit/b75319aa96
This commit is contained in:
parent
7c304e316f
commit
abd01d616a
@ -388,10 +388,8 @@ module Spec
|
||||
opts = gems.last.is_a?(Hash) ? gems.pop : {}
|
||||
path = opts.fetch(:path, system_gem_path)
|
||||
|
||||
with_gem_path_as(path) do
|
||||
gems.each do |gem|
|
||||
gem_command "install --no-document #{gem}"
|
||||
end
|
||||
gems.each do |gem|
|
||||
gem_command "install --no-document --install-dir #{path} #{gem}"
|
||||
end
|
||||
end
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user