summaryrefslogtreecommitdiff
path: root/lib/rubygems/installer.rb
diff options
context:
space:
mode:
authorEllen Marie Dash <[email protected]>2023-09-29 22:59:01 -0400
committergit <[email protected]>2023-10-11 19:07:28 +0000
commite84b73398b96ea7abbeb3a17caae71b365f5016d ()
tree6073cbe3f9d48d643bc81e505fe3d778f8658550 /lib/rubygems/installer.rb
parentee9cb86bb49db0fe1613a5121a89587630506780 (diff)
[rubygems/rubygems] Call check_that_user_bin_dir_is_in_path ANY time Gem.paths.home == Gem.user_dir.
(As opposed to only if `--user-install` is passed.) https://.com/rubygems/rubygems/commit/0b42d0e869
-rw-r--r--lib/rubygems/installer.rb7
1 files changed, 7 insertions, 0 deletions
@@ -193,6 +193,13 @@ class Gem::Installer
@gem_home = Gem.user_dir
@bin_dir = Gem.bindir gem_home unless options[:bin_dir]
@plugins_dir = Gem.plugindir(gem_home)
check_that_user_bin_dir_is_in_path
end
end