diff options
-rw-r--r-- | lib/bundler/cli/gem.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/cli/gem.rb b/lib/bundler/cli/gem.rb index 2ea09a4c57..9ce8de4a05 100644 --- a/lib/bundler/cli/gem.rb +++ b/lib/bundler/cli/gem.rb @@ -166,7 +166,7 @@ module Bundler def bundler_dependency_version v = Gem::Version.new(Bundler::VERSION) req = v.segments[0..1] - req << v.segments.last if v.prerelease? + req << 'a' if v.prerelease? req.join(".") end |