diff options
author | Smit Shah <who828@gmail.com> | 2014-01-22 10:25:32 +0530 |
---|---|---|
committer | Smit Shah <who828@gmail.com> | 2014-01-22 10:32:47 +0530 |
commit | f62613d39b789e8742c3b4afd1ce67dbb42241ee (patch) | |
tree | fd834e0a74c8657fcac8c221badf1ebafb7a39d8 /lib/bundler/installer.rb | |
parent | 1f86e5acbad68fe5acd959d01a605b321b4f9d2c (diff) | |
download | bundler-f62613d39b789e8742c3b4afd1ce67dbb42241ee.tar.gz |
Pick n-1 jobs by default
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 fa5b10fd1e..3069843ac4 100644 --- a/lib/bundler/installer.rb +++ b/lib/bundler/installer.rb @@ -90,7 +90,7 @@ module Bundler # dependencies might actually affect the installation of a gem. # that said, it's a rare situation (other than rake), and parallel # installation is just SO MUCH FASTER. so we let people opt in. - jobs = [Bundler.settings[:jobs].to_i, 1].max + jobs = [Bundler.settings[:jobs].to_i-1, 1].max if jobs > 1 && can_install_parallely? install_in_parallel jobs, options[:standalone] else |