diff options
| author | Steve Hull <p.witty@gmail.com> | 2010-11-01 14:47:20 -0700 |
|---|---|---|
| committer | Andre Arko <andre@arko.net> | 2010-11-02 12:16:44 -0700 |
| commit | 2760d9b8da5ea5f8c1474f84a53e1c59bbc40d39 (patch) | |
| tree | 4faf82d602d68f3d157331f9ab8b0d125ea722e7 /lib/bundler/deployment.rb | |
| parent | 7777551a6d1faae18065e6420871d2bc88ad5cc3 (diff) | |
| download | bundler-2760d9b8da5ea5f8c1474f84a53e1c59bbc40d39.tar.gz | |
Adding some docs about setting capistrano roles
Diffstat (limited to 'lib/bundler/deployment.rb')
| -rw-r--r-- | lib/bundler/deployment.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/bundler/deployment.rb b/lib/bundler/deployment.rb index 1750eeb4e8..f305f50d38 100644 --- a/lib/bundler/deployment.rb +++ b/lib/bundler/deployment.rb @@ -15,7 +15,8 @@ module Bundler set :bundle_dir, File.join(fetch(:shared_path), 'bundle') set :bundle_flags, "--deployment --quiet" set :bundle_without, [:development, :test] - set :bundle_cmd, "bundle" # e.g. change to "/opt/ruby/bin/bundle" + set :bundle_cmd, "bundle" # e.g. "/opt/ruby/bin/bundle" + set :bundle_roles, {:except => {:no_release => true}} # e.g. [:app, :batch] DESC send task_method, :install, opts do bundle_cmd = context.fetch(:bundle_cmd, "bundle") |
