summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/rubygems/commands/exec_command.rb2
-rw-r--r--test/rubygems/test_gem_commands_exec_command.rb2
2 files changed, 2 insertions, 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")
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
end
end