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.

Things to do

Do this once

@ gem install mongrel_cluster @

then in the application directory

@ capify . @

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

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 @