Skip to content

Commit

Permalink
Set bundle_jobs default to 4
Browse files Browse the repository at this point in the history
  • Loading branch information
Tensho committed Oct 17, 2018
1 parent e6fe042 commit d58eb73
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# [Unreleased][] (master)

* Your contribution here!
* Set `bundle_jobs` default to `4` @Tensho
* When "bundle install" is skipped due to a Gemfile's dependencies are being satisfied, print a message to the log instead of silently skipping

# [1.3.0][] (22 Sep 2017)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ You can parallelize the installation of gems with bundler's jobs feature.
Choose a number less or equal than the number of cores your server.

```ruby
set :bundle_jobs, 4 # default: nil, only available for Bundler >= 1.4
set :bundle_jobs, 8 # default: 4, only available for Bundler >= 1.4
```

To generate binstubs on each deploy, set `:bundle_binstubs` path:
Expand Down
2 changes: 1 addition & 1 deletion lib/capistrano/tasks/bundler.cap
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ namespace :load do
set :bundle_path, -> { shared_path.join('bundle') }
set :bundle_without, %w{development test}.join(' ')
set :bundle_flags, '--deployment --quiet'
set :bundle_jobs, nil
set :bundle_jobs, 4
set :bundle_env_variables, {}
set :bundle_clean_options, ""
end
Expand Down

0 comments on commit d58eb73

Please sign in to comment.