lib/bundler/capistrano.rb in bundler-1.1.pre.7 vs lib/bundler/capistrano.rb in bundler-1.1.pre.8
- old
+ new
@@ -3,9 +3,9 @@
# Just add "require 'bundler/capistrano'" in your Capistrano deploy.rb, and
# Bundler will be activated after each new deployment.
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