We provide a bunch of custom packages for our Ubuntu Dapper based Brightboxes. They are already set up to use it by default, but anyone can use them because it's all free software, which is just lovely.
These are mostly only tested for Brightbox users, so they might break things that aren't Rails related, but it's unlikely. We're just being careful.
The stable repository contains packages installed by default on our Brightboxes. It mostly consists of backported Apache 2.2.3 packages and NGINX 0.5.26 packages, but other packages may be added in the future.
Add the following line to your /etc/apt/sources.list file:
deb http://apt.brightbox.net/ dapper main
If you're not on a Brightbox, you'll need to import our apt repository key:
wget http://apt.brightbox.net/release.asc -O - | sudo apt-key add -
Then install packages:
sudo apt-get install ruby
The testing repository is (not surprisingly) where we put newer packages for people to test. It contains backported Ruby 1.8.6 p111 packages, ImageMagick 6.3 packages, newer NGINX packages and a few others.
You shouldn't leave this repository in your sources list and do blind upgrades as new packages might appear here that break things. (In particular, the Ruby packages will break any gems you have with native extensions - you need to manually rebuild these yourself after the first upgrade. See the Ruby 1.8.6 docs for more details.)
Add the following line to your /etc/apt/sources.list file:
deb http://apt.brightbox.net/ dapper testing
If you're not on a Brightbox, you'll need to import our apt repository key:
wget http://apt.brightbox.net/release.asc -O - | sudo apt-key add -
Then install packages:
sudo apt-get install ruby