Ruby 1.8.7 for Ubuntu 8.04 Hardy
We’ve built 32bit and 64bit Ubuntu Hardy packages for Ruby Enterprise 1.8.7-2009.10. These packages are quite a major change from the default Hardy Ruby interpreter, which is 1.8.6, so we recommend you test thoroughly before putting it into production (though many customers are already using it with no problems).
As with our other Ruby EE packages, they upgrade (i.e replace) the standard 1.8 Ruby installation. This means all your gems stay the same, and everything on your system immediately starts using them (Phusion’s own Ubuntu packages do not work like this). We’ve tested it with the usual Railsy native gems, RMagick, Mongrel, fasthread etc. and have had no problems.
These packages are NOT compatible with Ubuntu 6.06 (Dapper).
Installing 1.8.7 packages
Edit your /etc/apt/sources.list.d/brightbox-rubyee.list file and change the rubyee component to rubyee-testing:
deb http://apt.brightbox.net/ hardy rubyee-testing
Then upgrade:
sudo apt-get update sudo apt-get install libruby1.8
Returning to the original 1.8.6 packages
Edit your /etc/apt/sources.list.d/brightbox-rubyee.list file and change the rubyee-testing component to rubyee:
deb http://apt.brightbox.net/ hardy rubyee
Also edit your /etc/apt/preferences file and add the following lines:
Package: libopenssl-ruby1.8 libreadline-ruby1.8 libruby1.8 ruby1.8 ruby1.8-dev irb1.8 rdoc1.8 ri1.8 Pin: release C=rubyee Pin-Priority: 600
Then downgrade - note that if you haven't been keeping your Brightbox up-to-date with new packages, this will also fetch any security-related updates for it. The old packages will be listed as “downgrades”:
apt-get update apt-get upgrade
Ruby 1.8.7 for Ubuntu 10.04 Lucid
Lucid comes with Ruby 1.8.7 by default so you don't need to do anything! The Brightbox version of Lucid comes with Ruby Enterprise Edition 1.8.7 too.