Ruby Enterprise Edition Packages
We're providing 32bit Ruby EE packages for Ubuntu Lucid and Hardy. The packages include the copy on write memory improvements developed by the team at Phusion, plus some general performance improvements over the default Ubuntu packages that can increase the speed of basic built-in Ruby methods by a great deal.
The packages upgrade (i.e replace) the standard 1.8 Ruby installation, which might not be acceptable for everyone. This means all your gems stay the same, and everything on your system immediately starts using them.
The packages are available on the brightboxaptrepository for the Lucid and Hardy distributions under the component “rubyee”.
Install our key:
wget http://apt.brightbox.net/release.asc -O - | sudo apt-key add -
and add the following line to the file
deb http://apt.brightbox.net/ lucid rubyee
Change “lucid” to “hardy” if you're on Ubuntu Hardy. Then make sure you re-update your apt cache with the new source:
sudo apt-get update
You should be able to get this working with just one package upgrade (which pulls in some dependencies):
sudo apt-get install libruby1.8
Or just do an normal
sudo apt-get upgrade.
If you're using Passenger just restart Apache and you're all COWed up!
Reverting back to standard Ubuntu Ruby
If you want to revert back to the normal packages, add the following lines to the file
Package: libopenssl-ruby1.8 libreadline-ruby1.8 libruby1.8 ruby1.8 ruby1.8-dev irb1.8 rdoc1.8 ri1.8 Pin: release l=Ubuntu Pin-Priority: 600
And either run another
sudo apt-get upgrade or explicitly downgrade the ruby packages like this:
apt-get install irb1.8 libopenssl-ruby1.8 libreadline-ruby1.8 libruby1.8 rdoc1.8 ri1.8 ruby1.8