🎉 Announcing new lower pricing — up to 40% lower costs for Cloud Servers and Cloud SQL! Read more →

Ruby 2.5 Ubuntu packages

The first stable release of Ruby 2.5 arrived on schedule on December 25th. As usual, it brings loads of new features, bug fixes and quite a few performance improvements.

And now it’s included in our Ruby Ubuntu package repository, so getting it running on Ubuntu is now super easy.

Just add our repository, if you haven’t already:

$ sudo apt-add-repository ppa:brightbox/ruby-ng
$ sudo apt-get update

Install the packages:

$ sudo apt-get install ruby2.5 ruby2.5-dev

And you’re up and running:

$ ruby2.5 -v

ruby 2.5.0p0 (2017-12-25 revision 61468) [x86_64-linux-gnu]

$ gem2.5 -v
2.7.3

It’s available for Ubuntu 14.04 (Trusty), 16.04 (Xenial) and 17.10 (Artful).

As always, the same repository provides updated Ruby packages for 1.8, 1.9, 2.0, 2.1, 2.2, 2.3 and 2.4 for Trusty through to the latest supported Ubuntu release. We’ve recently published updates for all these versions of Ruby fixing all major outstanding security issues (yes, backported all the way to 1.8!).

If you want official support with service level agreements for these packages drop us a line to discuss. Otherwise, use the mailing list.

For more details on what’s provided and how to use it, see the docs page.

Try Ruby 2.5 on Brightbox

You can sign up for Brightbox in just a couple of minutes and use your £50 free credit to play with Ruby 2.5 on a UK cloud server.

Get started with Brightbox Sign up takes just two minutes...