From 72e80c8f29c7da37039e16f403814aa7fedc7754 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Rodr=C3=ADguez?= Date: Thu, 29 Aug 2024 18:26:42 +0200 Subject: [rubygems/rubygems] Make `gem exec` use the standard GEM_HOME https://github.com/rubygems/rubygems/commit/032b3c518a --- lib/rubygems/commands/exec_command.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/rubygems/commands') 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 -- cgit v1.2.3