Dec
3
2008
How to install Ruby Enterprise Edition, Passenger and Rails 2
There are certain products which are currently shaking the Ruby / Rails community:
- One of them is the infamous Phusion Passenger which makes deploying Rails applications a piece of a cake using Apache web servers,
- And Ruby Enterprise Edition (aka REE) which promises better memory management and better scaleability of your Rails applications.
These are really promising projects and Passenger offers a really elegant and automated setup which makes it pretty easy to be installed. However, I still keep seeing people having problems using it with REE and Rails version 2.2.2 on blogs, RailsForum and mostly on IRC.
In this article I will describe how to set up all of them. Hopefully it will help you understand the basic ideology how a Ruby environment is set up.
You will learn how to install and set up the following products for Rails development/deployment:
- Apache 2.2
- Ruby Enterprise Edition
- RubyGems 1.3.1
- Ruby on Rails 2.2.2
- Passenger 2.1.0 (note: this is an edge version, not recommended in production environment, you can still use 2.0.4)
What you will need:
- Apache web server already set up,
- Root privileges to be able to compile and set up your server
- A basic understanding how to use the Terminal.
OK, let’s get started. Continue reading