summaryrefslogtreecommitdiff
path: root/lib/rubygems/commands/rebuild_command.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rubygems/commands/rebuild_command.rb')
-rw-r--r--lib/rubygems/commands/rebuild_command.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/rubygems/commands/rebuild_command.rb b/lib/rubygems/commands/rebuild_command.rb
index 5386354f10..419e9bfdb0 100644
--- a/lib/rubygems/commands/rebuild_command.rb
+++ b/lib/rubygems/commands/rebuild_command.rb
@@ -154,6 +154,9 @@ Please install RubyGems v#{rg_version} and try again.
if system("diffoscope", old_file, new_file).nil?
alert_error "error: could not find `diffoscope` executable"
end
+ else
+ say
+ say "Pass --diff for more details (requires diffoscope to be installed)."
end
terminate_interaction 1