summaryrefslogtreecommitdiff
path: root/lib/rubygems/commands
diff options
context:
space:
mode:
authorBrian Le <brian.le@shopify.com>2022-06-30 16:20:53 -0700
committergit <svn-admin@ruby-lang.org>2022-07-06 02:59:14 +0900
commit902d1a5c513ed6e49e7f577ffe7146d30798b3e9 (patch)
tree56848808c47646f70ff5ffc191ed2c897c1ec84d /lib/rubygems/commands
parent6eab8095fa13ba6137f3807ed04188a53d587875 (diff)
[rubygems/rubygems] add message when gems are requested to be updated but they are not installed
https://github.com/rubygems/rubygems/commit/27953ffe9a
Diffstat (limited to 'lib/rubygems/commands')
-rw-r--r--lib/rubygems/commands/update_command.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/rubygems/commands/update_command.rb b/lib/rubygems/commands/update_command.rb
index 59e020fd63..04ce0ea935 100644
--- a/lib/rubygems/commands/update_command.rb
+++ b/lib/rubygems/commands/update_command.rb
@@ -130,6 +130,7 @@ command to remove old versions.
say "Gems updated: #{updated_names.join(' ')}"
end
say "Gems already up-to-date: #{up_to_date_names.join(' ')}" unless up_to_date_names.empty?
+ say "Gems not currently installed: #{not_installed_names.join(' ')}" unless not_installed_names.empty?
end
def fetch_remote_gems(spec) # :nodoc: