Install capistrano:
add to Gemfile
group :development do
gem 'capistrano'
gem 'rvm-capistrano'
end
Then cd to project root folder and run:
bundle install
capify .
setup your config/deploy.rb
file, here some useful examples
cap deploy:setup #before first deploy
cap deploy:check #before first deploy
cap deploy:cold # for first deploy
cap deploy #for subsequent deploys
Posted by konjoot to wiki (2014-01-06 15:32)