Forum archive
Ruby Enterprise Edition HOW-TO
Hello.
This is how I installed Ruby Enterprise Edition on my Rails Appliance. For more information, go to:
http://www.rubyenterpriseedition.com/
HOW-TO
1.- Go to your Turnkey Linux Appliance over SSH or Web SSH and isntall wget (or axel) so you can download the Ruby Enterprise Edition (REE) .deb installer on your box:
apt-get install wget
2.- Download the .deb installer from the REE official web page (http://www.rubyenterpriseedition.com/download.html)
wget http://rubyforge.org/frs/download.php/66164/ruby-enterprise_1.8.7-2009.10_i386.deb
3.- On your box type as root:
dpkg -i ruby-enterprise_1.8.7-2009.10-i386.deb
after this, you should be able to see the REE interpreter directly:
ruby -v
you should see:
ruby 1.8.7 (2009-06-12 patchlevel 174) [i686-linux], MBARI 0x8770, Ruby Enterprise Edition 2009.10
4.- Then you need to recompile Phusion Passenger:
/usr/local/bin/passenger-install-apache2-module
Follow the on-screen instruccions. Turnkey linux already has all the dependencies so you don't need to install anything else.
5.- After compiling you need to change one line on the passenger configuration file :
nano /etc/apache2/conf.d/passenger
change:
PassengerRuby /usr/bin/ruby1.8
to
PassengerRuby /usr/bin/ruby
Save It.
6.- Finally you have to restart apache:
/etc/init.d/apache2 restart
That's It!!
Bye.