diff options
author | Ellen Marie Dash <me@duckie.co> | 2020-07-04 19:19:27 -0400 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2020-09-28 14:54:22 +0900 |
commit | 7fc8f83edbfe0bb220750e179b70e1bff57f1e5f (patch) | |
tree | eaccad78fdbea3917759fcfe33758e84a8593279 /lib/rubygems | |
parent | ab5e9516b796e132da910664a7fba4e69336e323 (diff) |
[rubygems/rubygems] Have "gem update --system" pass through the --silent flag.
https://github.com/rubygems/rubygems/commit/5a1e56e892
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/3599
Diffstat (limited to 'lib/rubygems')
-rw-r--r-- | lib/rubygems/commands/update_command.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/rubygems/commands/update_command.rb b/lib/rubygems/commands/update_command.rb index 64e0b4a7a0..2df6a48d2d 100644 --- a/lib/rubygems/commands/update_command.rb +++ b/lib/rubygems/commands/update_command.rb @@ -291,6 +291,7 @@ command to remove old versions. def update_rubygems_arguments # :nodoc: args = [] + args << '--silent' if options[:silent] args << '--prefix' << Gem.prefix if Gem.prefix args << '--no-document' unless options[:document].include?('rdoc') || options[:document].include?('ri') args << '--no-format-executable' if options[:no_format_executable] |