Deploy rails apps with capistrano

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 Over 10 years ago