Deploy rails apps with capistrano

Updated . Posted . Visible to the public. Repeats.

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
konjoot
Last edit
konjoot
Posted by konjoot to wiki (2014-01-06 15:32)