diff options
Diffstat (limited to 'lib/rubygems/errors.rb')
-rw-r--r-- | lib/rubygems/errors.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rubygems/errors.rb b/lib/rubygems/errors.rb index fdbe39b996..e296ef3127 100644 --- a/lib/rubygems/errors.rb +++ b/lib/rubygems/errors.rb @@ -62,10 +62,10 @@ module Gem ## # A wordy description of the error. def wordy - "Found %s (%), but was for platform%s %s" % + "Found %s (%s), but was for platform%s %s" % [@name, @version, - @platforms.size == 1 ? 's' : '', + @platforms.size == 1 ? '' : 's', @platforms.join(' ,')] end end |