Skip to content

Commit

Permalink
- Align command comments properly to README.md.
Browse files Browse the repository at this point in the history
- Add bundle_jobs default value to README.md.
  • Loading branch information
Tobias Bühlmann committed Aug 7, 2014
1 parent 76fe80c commit fd195c6
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,21 +49,21 @@ set :bundle_bins, fetch(:bundle_bins, []).push %w(my_new_binary)
Configurable options:

```ruby
set :bundle_roles, :all # this is default
set :bundle_roles, :all # this is default
set :bundle_servers, -> { release_roles(fetch(:bundle_roles)) } # this is default
set :bundle_binstubs, -> { shared_path.join('bin') } # this is default
set :bundle_gemfile, -> { release_path.join('MyGemfile') } # default: nil
set :bundle_path, -> { shared_path.join('bundle') } # this is default
set :bundle_without, %w{development test}.join(' ') # this is default
set :bundle_flags, '--deployment --quiet' # this is default
set :bundle_env_variables, {} # this is default
set :bundle_binstubs, -> { shared_path.join('bin') } # this is default
set :bundle_gemfile, -> { release_path.join('MyGemfile') } # default: nil
set :bundle_path, -> { shared_path.join('bundle') } # this is default
set :bundle_without, %w{development test}.join(' ') # this is default
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.

```ruby
set :bundle_jobs, 4 #This is only available for bundler 1.4+
set :bundle_jobs, 4 # default: nil, only available for Bundler >= 1.4
```

This would execute the following bundle command on all servers
Expand Down

0 comments on commit fd195c6

Please sign in to comment.