mirror of
https://github.com/ruby/ruby.git
synced 2025-08-24 05:25:34 +02:00
parent
a304fe00f3
commit
72e80c8f29
2 changed files with 2 additions and 2 deletions
|
@ -143,7 +143,7 @@ to the same gem path as user-installed gems.
|
|||
end
|
||||
|
||||
def set_gem_exec_install_paths
|
||||
home = File.join(Gem.dir, "gem_exec")
|
||||
home = Gem.dir
|
||||
|
||||
ENV["GEM_PATH"] = ([home] + Gem.path).join(File::PATH_SEPARATOR)
|
||||
ENV["GEM_HOME"] = home
|
||||
|
|
|
@ -749,7 +749,7 @@ class TestGemCommandsExecCommand < Gem::TestCase
|
|||
assert_match(/\A\s*\** LOCAL GEMS \**\s*\z/m, @ui.output)
|
||||
|
||||
invoke "gem", "env", "GEM_HOME"
|
||||
assert_equal "#{@gem_home}/gem_exec\n", @ui.output
|
||||
assert_equal "#{@gem_home}\n", @ui.output
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue