summaryrefslogtreecommitdiff
path: root/lib/rubygems/commands/rebuild_command.rb
diff options
context:
space:
mode:
authorEllen Marie Dash <[email protected]>2024-02-27 19:38:43 -0500
committergit <[email protected]>2024-03-29 08:03:39 +0000
commit54d90e1355180587bf7dda8f56d5d59600a7da23 ()
tree5dbe4337ac05ece9220fa43e69c534e211df380f /lib/rubygems/commands/rebuild_command.rb
parentdfe83df03e1a9a056070ef37999f150bcf5a6fc0 (diff)
[rubygems/rubygems] [rebuild] If --diff is not passed and a rebuild fails, suggest passing --diff.
https://.com/rubygems/rubygems/commit/7caadd182c
-rw-r--r--lib/rubygems/commands/rebuild_command.rb3
1 files changed, 3 insertions, 0 deletions
@@ -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
end
terminate_interaction 1