Installing Ruby Enterprise on slicehost

I already had Phusion Passenger installed on my slicehost. Now, I wanted to install Ruby Enterprise Edition after hearing how much memory it could possibly save on my slice.

I just followed the instructions here.

cd ~/sources
wget http://rubyforge.org/frs/download.php/41040/ruby-enterprise-1.8.6-20080810.tar.gz
tar xzvf ruby-enterprise-1.8.6-20080810.tar.gz
sudo ./ruby-enterprise-1.8.6-20080810/installer

Then I just hit enter at all the prompts.

At the end I received the following message.

Ruby Enterprise Edition is successfully installed!
If you're using Phusion Passenger (http://www.modrails.com),
and you want it to use Ruby Enterprise Edition, then edit your Apache
configuration file, and change the 'PassengerRuby' option:
 
  PassengerRuby /opt/ruby-enterprise-1.8.6-20080810/bin/ruby
 
If you ever want to uninstall Ruby Enterprise Edition, simply remove this
directory:
 
  /opt/ruby-enterprise-1.8.6-20080810

Change the apache config

cd /etc/apache2
sudo nano apache2.conf
# scroll to the bottom of the page
# change PassengerRuby /usr/bin/ruby1.8 to PassengerRuby /opt/ruby-enterprise-1.8.6-20080810/bin/ruby

Then I did:

sudo /etc/init.d/apache2 restart

Resources:
- Comparison to thin
- Ruby Enterprise Edition & Phusion

Comments