diff options
author | Ellen Marie Dash <[email protected]> | 2024-02-27 19:48:41 -0500 |
---|---|---|
committer | git <[email protected]> | 2024-03-29 08:03:40 +0000 |
commit | d916dbcb849b816b15717c64ea0c0ce756c15fb5 () | |
tree | 80fcafcfdc3afb484efbe5bdce7f5bbe451c6259 /lib/rubygems/commands/rebuild_command.rb | |
parent | 54d90e1355180587bf7dda8f56d5d59600a7da23 (diff) |
[rubygems/rubygems] Improve formatting of "gem rebuild --help" output.
https://.com/rubygems/rubygems/commit/701550f9dd
-rw-r--r-- | lib/rubygems/commands/rebuild_command.rb | 17 |
1 files changed, 8 insertions, 9 deletions
@@ -52,15 +52,15 @@ The rebuild command allows you to (attempt to) reproduce a build of a gem from a ruby gemspec. This command assumes the gemspec can be built with the `gem build` command. -If you use either `gem build` or `rake build`/`rake release` to build/release -a gem, it is a potential candidate. -You will likely need to match the RubyGems version used, since this is -included in the Gem metadata. -If the gem includes lockfiles (e.g. Gemfile.lock) and similar, it will require -more effort to reproduce a build. For example, it might require more precisely -matched versions of Ruby and/or Bundler to be used. EOF end @@ -148,14 +148,13 @@ Please install RubyGems v#{rg_version} and try again. say "SUCCESS - original and rebuild hashes matched" else say "FAILURE - original and rebuild hashes did not match" if options[:diff] - say 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 |