Brightbox maintain packages for Ubuntu Lucid and Hardy to make life easier for Rails users. These are obtainable from the Brightbox APT repository.
Brightboxes are already set up to use the APT repositories by default, but they're publicly available for anyone running Ubuntu to use.
We provide extras such as Rubygems, Passenger/mod_rails, Ruby Enterprise, Ruby 1.9.3 and nginx.
If you're on Ubuntu Lucid or above and want Ruby Enterprise edition, Ruby 1.9.3 and Passenger support, then use our ruby-ng ppa.
apt-add-repository ppa:brightbox/ruby-ng apt-get update
More details are available here.
For Hardy (and for access to older Lucid packages), use our local repository:
wget http://apt.brightbox.net/release.asc -O - | sudo apt-key add -
Then download the appropriate sources file:
sudo wget -c http://apt.brightbox.net/sources/`lsb_release -s -c`/brightbox.list -P /etc/apt/sources.list.d/