Skip to content

Commit 68b4ee9

Browse files
authored
Fix conflict resolution mistake.
1 parent 6f7a774 commit 68b4ee9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/rubygems/installer.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -684,7 +684,7 @@ def process_options # :nodoc:
684684
# * `true`: `--user-install`
685685
# * `false`: `--no-user-install` and
686686
# * `nil`: option was not specified
687-
if options[:user_install] || Gem.auto_user_install
687+
if options[:user_install] || (options[:user_install].nil? && Gem.auto_user_install)
688688
@gem_home = Gem.user_dir
689689
end
690690
end

0 commit comments

Comments
 (0)