diff options
author | Andre Arko <andre@arko.net> | 2013-08-04 13:19:55 -0700 |
---|---|---|
committer | Andre Arko <andre@arko.net> | 2013-08-04 13:23:34 -0700 |
commit | 452f4c44c4138389269c043e514a3298f29abbed (patch) | |
tree | 4cbafd1ff96988e915914b0299d4b7f891d58810 /lib/bundler/installer.rb | |
parent | ac3c8ba95db01197db34454114c56e53d8675530 (diff) | |
download | bundler-452f4c44c4138389269c043e514a3298f29abbed.tar.gz |
Add RubygemsIntegration#provides?
Diffstat (limited to 'lib/bundler/installer.rb')
-rw-r--r-- | lib/bundler/installer.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/installer.rb b/lib/bundler/installer.rb index 63890528a8..b82e470114 100644 --- a/lib/bundler/installer.rb +++ b/lib/bundler/installer.rb @@ -192,7 +192,7 @@ module Bundler private def can_install_parallely? - if Bundler.current_ruby.mri? || Gem::VERSION >= "2.1.0" + if Bundler.current_ruby.mri? || Bundler.rubygems.provides?(">= 2.1.0.rc") true else Bundler.ui.warn "Bundler has detected Rubygems version #{Gem::VERSION} which is " \ |