Docs

Ruby packages for Ubuntu

Brightbox have been providing optimised Ruby packages for Ubuntu for years. We’re currently maintaining packages for Ruby 2.2, 2.1, 2.0, 1.9.3, and 1.8.7. Our Ruby 1.9.3 and 1.8.7 packages are modified with various performance improvements.

Ruby 2.2

We provide Ruby 2.2 packages for Ubuntu Utopic, Trusty and Precise. Our Ruby 2.2 packages are currently built from unmodified versions of Ruby.

Ruby 2.1

We provide Ruby 2.1 packages for Ubuntu Utopic, Trusty and Precise. Our Ruby 2.1 packages are built from unmodified versions of Ruby.

Ruby 2.0

We provide Ruby 2.0 packages for Ubuntu Trusty, Precise and Lucid. Our Ruby 2.0 packages are built from unmodified versions of Ruby.

(note that Ruby 1.9.3 shows as 1.9.1, due to a historical Debian thing
about binary compatibility)

Gem binaries

Any binaries installed by gems (such as bundler’s bundle command)
might not automatically use the current default version of ruby
(preferring the version that was default at the time it was
installed). In that case, you can explicitly run it under a specific version like this:

$ ruby1.9.1 -S bundle -v
Bundler version 1.6.3

If you’re using multiple versions of ruby on a server, it’s best to explicitly run any ruby binaries with the desired version of Ruby like this.

Ruby 1.8 gems

The ruby 1.8 packages don’t come with the rubygems libraries, so you need to install that separately if you need it:

$ sudo apt-get install ruby1.8 rubygems

Note that some very old versions of Rails do not work with the latest
versions of Rubygems - if you’re using our rubygems 1.3.7 packages and
don’t want to upgrade, you can pin them like this:

Passenger Support

Mailing List

If you have any feedback or comments, or just want to follow along with the latest announcements, join the Google Groups list. All feedback is always welcome - we like to hear from you even if everything worked ok.