You are previewing Rails 3 in Action.

Rails 3 in Action

Cover of Rails 3 in Action by Ryan Bigg... Published by Manning Publications
O'Reilly logo

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 ...

The best content for your career. Discover unlimited learning on demand for around $1/day.