The deployment aspect of Ruby on Rails development can be much easier with an automated process. Capistrano, a deployment tool that helps to automate Rails application deployment, harnesses the power of metaprogramming to allow the user to define the values of deployment techniques, repositories, databases and exception notifications.
In his Web Developer’s Virtual Library (WDVL) article, Saurabh Bhatia introduces the Capistrano tool and explains how it works. He then walks you through the process of automating a Rails application deployment using Capistrano, Git (as the repository), and Phusion Passenger (as the server).