Deploying Rails 4 app with Passenger and Apache using Capistrano, Rbenv

Recently I created a Rails 4 application and deployed it to an Ubuntu system using Capistrano. As I had to make few tweaks and try couple of options, I thought I should document the process here so I could refer to it later when needed. This post is for providing pointers on deploying Rails 4 […]

Read more "Deploying Rails 4 app with Passenger and Apache using Capistrano, Rbenv"

Capistrano 2 to Capistrano 3 upgrade

Now that Capistrano 3 is available, it is time to upgrade your capistrano deployment setup. It is recommended to backup your old capistrano files to a directory mkdir old_capistrano mv Capfile config/deploy.rb old_capistrano cd project_dir Instead of running capify . run cap install This should create following files Capfile config/deploy/staging.rb config/deploy/production.rb By default, this should […]

Read more "Capistrano 2 to Capistrano 3 upgrade"