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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.