diff --git a/lib/rubygems/specification.rb b/lib/rubygems/specification.rb index 5d94efe5bc..01d3fd0eff 100644 --- a/lib/rubygems/specification.rb +++ b/lib/rubygems/specification.rb @@ -1240,8 +1240,7 @@ class Gem::Specification < Gem::BasicSpecification clear_load_cache unresolved = unresolved_deps unless unresolved.empty? - w = "W" + "ARN" - warn "#{w}: Unresolved or ambiguous specs during Gem::Specification.reset:" + warn "WARN: Unresolved or ambiguous specs during Gem::Specification.reset:" unresolved.values.each do |dep| warn " #{dep}" @@ -1251,7 +1250,7 @@ class Gem::Specification < Gem::BasicSpecification versions.each {|s| warn " - #{s.version}" } end end - warn "#{w}: Clearing out unresolved specs. Try 'gem cleanup '" + warn "WARN: Clearing out unresolved specs. Try 'gem cleanup '" warn "Please report a bug if this causes problems." unresolved.clear end