summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/bundler/installer.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/bundler/installer.rb b/lib/bundler/installer.rb
index 77f0f19ac3..91cb0ec55e 100644
--- a/lib/bundler/installer.rb
+++ b/lib/bundler/installer.rb
@@ -196,8 +196,10 @@ module Bundler
else
[jobs.pred, 1].max
end
- else
+ elsif auto_config_jobs
processor_count
+ else
+ 1
end
end