Jordan Brock

Upgrading to Capistrano 2

For no other reason than this is something I need to remember on other projects, here is a list of the changes I made when I uninstalled deprec and upgraded to capistrano 2 for deployment.

h3. Things to do

p. Do this once

@
gem install mongrel_cluster
@

p. then in the application directory

@
capify .
@

p. then remove "require ‘deprec/recipes’ from the deploy.rb file

p. then put the following in to the deploy.rb file

@
namespace :deploy do
task :start, :roles => :app do start_mongrel_cluster end
task :stop, :roles => :app do stop_mongrel_cluster end
task :restart, :roles => :app do restart_mongrel_cluster end
end
@