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.

1 cd ~/sources
      2 wget http://rubyforge.org/frs/download.php/41040/ruby-enterprise-1.8.6-20080810.tar.gz
      3 tar xzvf ruby-enterprise-1.8.6-20080810.tar.gz
      4 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.

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

 1 Ruby Enterprise Edition is successfully installed!
2 If youre using Phusion Passenger (http://www.modrails.com),
3 and you want it to use Ruby Enterprise Edition, then edit your Apache
4 configuration file, and change the
PassengerRuby option:
5
6 PassengerRuby /opt/ruby-enterprise-1.8.6-20080810/bin/ruby
7
8 If you ever want to uninstall Ruby Enterprise Edition, simply remove this
9 directory:
10
11 /opt/ruby-enterprise-1.8.6-20080810
12

Change the apache config

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

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

Then I did:

1 sudo /etc/init.d/apache2 restart
      

1 sudo /etc/init.d/apache2 restart

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

Picture of Scott Motte

delicious facebook rss twitter

Spitfire Sky | github | archives | resume