New to Rails 3? Check out the Ruby on Rails 3 Tutorial book and screencast.

A book and screencast series showing you how to develop and deploy industrial-strength Rails apps in a direct, step by step way. The screencast series includes 12 lessons over more than 15 hours! Get the best "over the shoulder" experience of following what a top Rails 3 developer does when building an app today. Click here to learn more.

Building a Rails Multi-Staging Environment with Capistrano and Passenger

In Deployment, Tutorials

capistrano.png In the last year, Phusion Passenger (a.k.a. mod_rails) has become a popular way (possibly even the popular way) to deploy Rails and Rack-based applications. If you're not a Passenger user yet or if you haven't set it up along with a Capistrano staging environment, Christian Johansen has put together an excellent walkthrough called Multi-staging environment for Rails using Capistrano and mod_rails.

Christian hasn't written your run of the mill blog post. He goes through step by step on installing Passenger (which is only a few lines really), setting up a VirtualHost, and then, and this is the tricky bit, setting up Capistrano to make ultimately deployment a one-line process. He's included a lot of code in the post, including a full config/deploy.rb file you can use as a guide for your own setup.

Support from: Brightbox; - Europe's leading provider of Ruby on Rails hosting. Now with Phusion Passenger support, each Brightbox server comes with access to a managed MySQL cluster and redundant SAN storage. Brightbox also provides managed services for large scale applications and dedicated clusters. — Special Offer: 50% off all new Brightboxes! For a limited period, get a Brightbox from £19.50 a month...

Post to Twitter Tweet This Post

Vaguely Related Posts (Usually)

One Comment Response to “Building a Rails Multi-Staging Environment with Capistrano and Passenger”

  1. #1
    Neeraj Says:

    Nice one. I have something similar and this lets you get started all the way from a brand new slice from slicehost.

Leave a Reply