aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bundler/deployment.rb
diff options
context:
space:
mode:
authorAndré Arko <andre@arko.net>2013-01-23 08:45:08 -0800
committerAndré Arko <andre@arko.net>2013-01-23 08:45:08 -0800
commitf7bdee6439dd359f2385bbac584cabf7f60d231e (patch)
tree3da419e524c3baa39fcb5918997f3fb46bc3e54c /lib/bundler/deployment.rb
parentd6a7c98f948f5f619bfff6ca9b0a72f8f5eda5c4 (diff)
parent28ed0f27e031240de5295f331ee4bdc207c01cbc (diff)
downloadbundler-f7bdee6439dd359f2385bbac584cabf7f60d231e.tar.gz
Merge pull request #1862 from jgeiger/master
Show that current_release can be overridden.
Diffstat (limited to 'lib/bundler/deployment.rb')
-rw-r--r--lib/bundler/deployment.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/bundler/deployment.rb b/lib/bundler/deployment.rb
index 7551a8b6..e0a63a5d 100644
--- a/lib/bundler/deployment.rb
+++ b/lib/bundler/deployment.rb
@@ -34,6 +34,7 @@ module Bundler
set :bundle_without, [:development, :test]
set :bundle_cmd, "bundle" # e.g. "/opt/ruby/bin/bundle"
set :bundle_roles, #{role_default} # e.g. [:app, :batch]
+ set :current_release, #{current_release} # e.g. "/releases/123456"
DESC
send task_method, :install, opts do
bundle_cmd = context.fetch(:bundle_cmd, "bundle")