diff options
author | Ellen Marie Dash <me@duckie.co> | 2023-09-30 00:30:05 -0400 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2023-10-11 19:07:28 +0000 |
commit | 28a6c4a1ad4935e1a0af7904e17733555988b88a (patch) | |
tree | 893e2bbc08c2a1fc162bfdabf59a47a8601c5ba1 /lib/rubygems | |
parent | c83f8ad8671afbd8e9ae70c2c4e69a80c6a96d67 (diff) | |
download | ruby-28a6c4a1ad4935e1a0af7904e17733555988b88a.tar.gz |
[rubygems/rubygems] Update incorrect comments.
https://github.com/rubygems/rubygems/commit/6b21f593f3
Diffstat (limited to 'lib/rubygems')
-rw-r--r-- | lib/rubygems/installer.rb | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/rubygems/installer.rb b/lib/rubygems/installer.rb index 896f3b4f58..e5df0b4e71 100644 --- a/lib/rubygems/installer.rb +++ b/lib/rubygems/installer.rb @@ -196,9 +196,10 @@ class Gem::Installer end if @gem_home == Gem.user_dir - # If we get here, then: - # 1. `--user-install` was specified, or - # 2. GEM_HOME was not writable, and `Gem::PathSupport` fell back to `Gem.user_dir`. + # If we get here, then one of the following likely happened: + # - `--user-install` was specified + # - `Gem::PathSupport#home` fell back to `Gem.user_dir` + # - GEM_HOME was manually set to `Gem.user_dir` check_that_user_bin_dir_is_in_path end |