From a8ce0414d61977d1d82450e3d060723cfc8af5d8 Mon Sep 17 00:00:00 2001 From: abdelkader boudih Date: Wed, 26 Mar 2014 07:55:06 +0000 Subject: [PATCH] Added documentation for parallel jobs --- CHANGELOG.md | 1 + README.md | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 549070bb..3831d2ce 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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) diff --git a/README.md b/README.md index f682e20e..45a88537 100644 --- a/README.md +++ b/README.md @@ -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):