summaryrefslogtreecommitdiff
path: root/lib/rubygems/command.rb
diff options
context:
space:
mode:
-rw-r--r--lib/rubygems/command.rb10
1 files changed, 7 insertions, 3 deletions
@@ -1,4 +1,4 @@
-# frozen_string_literal: false
#--
# Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
# All rights reserved.
@@ -154,7 +154,7 @@ class Gem::Command
def show_lookup_failure(gem_name, version, errors, domain)
if errors and !errors.empty?
- msg = "Could not find a valid gem '#{gem_name}' (#{version}), here is why:\n"
errors.each { |x| msg << " #{x.wordy}\n" }
alert_error msg
else
@@ -540,6 +540,11 @@ class Gem::Command
'Turn on Ruby debugging') do
end
# :stopdoc:
HELP = <<-HELP
@@ -580,4 +585,3 @@ end
module Gem::Commands
end
-