Skip to content

Commit

Permalink
Added documentation for parallel jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
seuros committed Mar 26, 2014
1 parent 7f26104 commit a8ce041
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

* Honor `:no_release` flag by using `release_roles` in Capistrano 3.1
* capistrano-bundler now requires Capistrano 3.1 or higher (~> 3.1)
* Added `:bundle_jobs` option for specifying number of parallel jobs

# 1.1.2 (8 Feb 2014)

Expand Down
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,11 @@ Configurable options:
set :bundle_flags, '--deployment --quiet' # this is default
set :bundle_env_variables, {} # this is default

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.

set :bundle_jobs, 4 #This is only available for bundler 1.4+

This would execute the following bundle command on all servers
(actual paths depend on the real deploy directory):

Expand Down

0 comments on commit a8ce041

Please sign in to comment.