diff options
| author | Samuel Giddins <segiddins@segiddins.me> | 2018-08-06 23:02:49 -0700 |
|---|---|---|
| committer | Samuel Giddins <segiddins@segiddins.me> | 2018-08-06 23:08:03 -0700 |
| commit | fcc4b607379b25f607ce8d003664902f58fefd23 (patch) | |
| tree | a1ebcf872827ef46e1c8dac9d930234f974470ac /lib/bundler/source | |
| parent | 32222b5e892fc548c59890bd45919fee1959603f (diff) | |
| download | bundler-fcc4b607379b25f607ce8d003664902f58fefd23.tar.gz | |
Fix error sorting
Also avoid mutating the original exception message to generate the message we want
Diffstat (limited to 'lib/bundler/source')
| -rw-r--r-- | lib/bundler/source/metadata.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/bundler/source/metadata.rb b/lib/bundler/source/metadata.rb index 93909002c7..639f262f74 100644 --- a/lib/bundler/source/metadata.rb +++ b/lib/bundler/source/metadata.rb @@ -5,8 +5,8 @@ module Bundler class Metadata < Source def specs @specs ||= Index.build do |idx| - idx << Gem::Specification.new("ruby\0", RubyVersion.system.to_gem_version_with_patchlevel) - idx << Gem::Specification.new("rubygems\0", Gem::VERSION) + idx << Gem::Specification.new("Ruby\0", RubyVersion.system.to_gem_version_with_patchlevel) + idx << Gem::Specification.new("RubyGems\0", Gem::VERSION) idx << Gem::Specification.new do |s| s.name = "bundler" |
