summaryrefslogtreecommitdiff
path: root/lib/bundler/deployment.rb
diff options
context:
space:
mode:
authorSteve Hull <p.witty@gmail.com>2010-11-01 14:47:20 -0700
committerAndre Arko <andre@arko.net>2010-11-02 12:16:44 -0700
commit2760d9b8da5ea5f8c1474f84a53e1c59bbc40d39 (patch)
tree4faf82d602d68f3d157331f9ab8b0d125ea722e7 /lib/bundler/deployment.rb
parent7777551a6d1faae18065e6420871d2bc88ad5cc3 (diff)
downloadbundler-2760d9b8da5ea5f8c1474f84a53e1c59bbc40d39.tar.gz
Adding some docs about setting capistrano roles
Diffstat (limited to 'lib/bundler/deployment.rb')
-rw-r--r--lib/bundler/deployment.rb3
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")