diff options
author | Ellen Marie Dash <[email protected]> | 2020-07-30 17:24:05 -0400 |
---|---|---|
committer | Hiroshi SHIBATA <[email protected]> | 2020-09-28 14:54:22 +0900 |
commit | e8274a7683645082e96ced6a00d2df9ba10942ed (patch) | |
tree | e3ad9a71ea54df61031199f0399f1e74c7a9c6a6 /lib/rubygems | |
parent | 7fc8f83edbfe0bb220750e179b70e1bff57f1e5f (diff) |
[rubygems/rubygems] Add test for "gem update --system --silent"
https://github.com/rubygems/rubygems/commit/c3fb0db930
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/3599
Diffstat (limited to 'lib/rubygems')
-rw-r--r-- | lib/rubygems/commands/update_command.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rubygems/commands/update_command.rb b/lib/rubygems/commands/update_command.rb index 2df6a48d2d..b7609ed7fe 100644 --- a/lib/rubygems/commands/update_command.rb +++ b/lib/rubygems/commands/update_command.rb @@ -174,13 +174,13 @@ command to remove old versions. update_dir = File.join Gem.dir, 'gems', "rubygems-update-#{version}" Dir.chdir update_dir do - say "Installing RubyGems #{version}" + say "Installing RubyGems #{version}" unless options[:silent] installed = preparing_gem_layout_for(version) do system Gem.ruby, '--disable-gems', 'setup.rb', *args end - say "RubyGems system software updated" if installed + say "RubyGems system software updated" if installed unless options[:silent] end end |