diff options
Diffstat (limited to 'lib/bundler/installer.rb')
-rw-r--r-- | lib/bundler/installer.rb | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/bundler/installer.rb b/lib/bundler/installer.rb index 52797314..10526115 100644 --- a/lib/bundler/installer.rb +++ b/lib/bundler/installer.rb @@ -195,13 +195,12 @@ module Bundler private def can_install_in_parallel? - min_rubygems = "2.0.7" - if Bundler.current_ruby.mri? || Bundler.rubygems.provides?(">= #{min_rubygems}") + if Bundler.rubygems.provides?(">= 2.1.0") true else Bundler.ui.warn "Rubygems #{Gem::VERSION} is not threadsafe, so your "\ - "gems must be installed one at a time. Upgrade to Rubygems " \ - "#{min_rubygems} or higher to enable parallel gem installation." + "gems must be installed one at a time. Upgrade to Rubygems 2.1.0 " \ + "or higher to enable parallel gem installation." false end end |