summaryrefslogtreecommitdiff
path: root/lib/bundler/capistrano.rb
diff options
context:
space:
mode:
authorChris Griego <cgriego@gmail.com>2011-07-12 21:06:14 -0500
committerAndre Arko <andre@arko.net>2011-08-09 11:04:39 -0700
commit5dcb70b7430d5a911f20761d5986ecc36559f0fa (patch)
treefcb6230ce41e5fe586c6d483bbda7019170135f8 /lib/bundler/capistrano.rb
parent66e930ca6e0f7ea8bc2b766c5c416e88b2977662 (diff)
downloadbundler-5dcb70b7430d5a911f20761d5986ecc36559f0fa.tar.gz
Run the bundle install earlier in a Capistrano deployment to give other tasks a stable, common hook to use.
closes #1300
Diffstat (limited to 'lib/bundler/capistrano.rb')
-rw-r--r--lib/bundler/capistrano.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/capistrano.rb b/lib/bundler/capistrano.rb
index 0a14c6d8b4..dc551c5041 100644
--- a/lib/bundler/capistrano.rb
+++ b/lib/bundler/capistrano.rb
@@ -5,7 +5,7 @@
require 'bundler/deployment'
Capistrano::Configuration.instance(:must_exist).load do
- after "deploy:update_code", "bundle:install"
+ after "deploy:finalize_update", "bundle:install"
Bundler::Deployment.define_task(self, :task, :except => { :no_release => true })
set :rake, lambda { "#{fetch(:bundle_cmd, "bundle")} exec rake" }
end