Deploying Rails Applications
The focus of this book is to teach you how to provision and deploy your Rails apps on a VPS like Linode. We will use Moonshine to provision and manage the server. We will use Capistrano for deployment. The instructions in this book targets Ubuntu 12.04.4 LTS. Our Rails stack will be:
- Apache 2.2 for Webserver
- Passenger 5.0 for Application Server
- MySQL 5.5.37 for database server
- SuckerPunch 2.0 for background processing
- SendGrid for transaction mails
- Rails 4.2.6
- Ruby 2.3.0
- Capistrano 2.15.4
If you would like to use redis-backed Resque for background processing, there is a chapter on how to install and configure redis using Moonshine.
Scope
We will focus on deploying a Rails app that is good enough to build a SaaS app that generates $1 million per year. We will restrict to deploying a beautiful monolithic Rails app. A Rails app built and maintained by 1 to 3 person company.
About the Author

Bala Paranj has a Master's degree in Electrical Engineering from Wichita State University. He began working in the IT industry in 1996. He started his career as a Technical Support Engineer and then became a Web Developer using Perl, Java and Ruby.
He is available for freelance work. Please contact him at [email protected] or via Ruby Plus. He is also working on screencasts based on this book. If you want notification about the release, please contact him.