[rubygems/rubygems] Make gem exec use the standard GEM_HOME

032b3c518a
This commit is contained in:
David Rodríguez 2024-08-29 18:26:42 +02:00 committed by git
parent a304fe00f3
commit 72e80c8f29
2 changed files with 2 additions and 2 deletions

View file

@ -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