summaryrefslogtreecommitdiff
path: root/lib/rubygems/commands
diff options
context:
space:
mode:
authorDavid Rodríguez <[email protected]>2024-08-29 18:26:42 +0200
committergit <[email protected]>2024-09-09 08:46:01 +0000
commit72e80c8f29c7da37039e16f403814aa7fedc7754 (patch)
treed8877a216e06e82d052bd7842e652227fd9640fa /lib/rubygems/commands
parenta304fe00f3db3719f7dbb6942e7e65e49d760c48 (diff)
[rubygems/rubygems] Make `gem exec` use the standard GEM_HOME
https://github.com/rubygems/rubygems/commit/032b3c518a
Diffstat (limited to 'lib/rubygems/commands')
-rw-r--r--lib/rubygems/commands/exec_command.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rubygems/commands/exec_command.rb b/lib/rubygems/commands/exec_command.rb
index d588804290..9489f3172c 100644
--- a/lib/rubygems/commands/exec_command.rb
+++ b/lib/rubygems/commands/exec_command.rb
@@ -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