diff options
author | Samuel Giddins <segiddins@segiddins.me> | 2017-08-31 13:10:41 -0500 |
---|---|---|
committer | Samuel Giddins <segiddins@segiddins.me> | 2017-09-06 15:44:40 -0500 |
commit | 57b350c02481c9c4b2df3f517194dd2193a1ea6e (patch) | |
tree | 42638914151bd0633f8119998b1ba1e6bc25bfe5 | |
parent | 6498d10282ec9de20024a4c25e2998666508bc4d (diff) | |
download | bundler-seg-jobs-count.tar.gz |
Default to 1 job when auto_config_jobs is not setseg-jobs-count
-rw-r--r-- | lib/bundler/installer.rb | 4 |
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 |