Chapter 14. Deployment

This chapter covers

  • Deploying a Rails app to an Ubuntu server
  • Using RVM and Ruby in a server environment
  • Hosting a Rails app using the Passenger gem

In this chapter you’ll deploy your Ticketee application to a new Ubuntu install. Ubuntu is the preferred operating system for deploying Rails applications, mainly due to its simplicity of use and easy package management. You don’t need to install another operating system on your computer; you’ll be using a product called Oracle VM VirtualBox.

You’ll set up this machine manually so that you can see how all the pieces fit together. There are automatic tools such Puppet,[1] Chef,[2] Babushka,[3] and Git Pusshuten[4] that can do most, if not all, of this setup for you. To ...

Get Rails 3 in Action now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.