summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/rubygems/commands/which_command.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/rubygems/commands/which_command.rb b/lib/rubygems/commands/which_command.rb
index 3c30702672..fca463a1ef 100644
--- a/lib/rubygems/commands/which_command.rb
+++ b/lib/rubygems/commands/which_command.rb
@@ -57,8 +57,7 @@ requiring to see why it does not behave as you expect.
if paths.empty?
alert_error "Can't find Ruby library file or shared library #{arg}"
-
- found &&= false
+ found = false
else
say paths
end