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

Updated Ruby 2.4, 2.3 and 2.2 Ubuntu packages

We’ve just released updated Ruby 2.4, 2.3 and 2.2 packages for Ubuntu.

Ruby 2.2.7

Ruby 2.2.7 brings about 70 bug fixes since 2.2.6 but is also the last maintenance phase release of Ruby 2.2. So no more normal bug fixes, only security updates. And only for 12 months. Get planning your move to 2.3 or 2.4!

Ruby 2.3.4

Ruby 2.3.4 brings about 80 bug fixes, particularly a fix for a regression in the behaviour of Symbol#hash.

After 2.3.4 was released it was reported that the rb_thread_fd_close API function had been accidentally removed. We’ve applied the patch that fixes this - so our 2.3.4 packages are not affected by this issue.

Ruby 2.4.1

Ruby 2.4.1 brings over 150 changes, almost entirely bug fixes. Ruby Inside goes into more detail about the release.

Ubuntu 17.04 Zesty

We’re now maintaining package for Zesty. All versions, from Ruby 1.8 through to Ruby 2.4 are available immediately. We’re still supporting Precise, Trusty, Xenial and Yakkety, though support for Precise ends at the end of April.

Debug Symbols

We’re also now building debug symbols by default, useful if you’re investigating a lower level problem, such as segfaults. They were already available for Ruby 1.8 and Ruby 1.9 packages, and now we’ve got them built for the other versions. If you ever need them, just install the associated dbgsym package, such as ruby2.3-dbgsym.

Package Installation

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

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

Install the packages you need:

$ sudo apt-get install ruby2.3 ruby2.3-dev ruby2.2 ruby2.2-dev

And you’re up and running:

$ ruby2.3 -v

ruby 2.3.4p301 (2017-03-30 revision 58214) [x86_64-linux-gnu]

You can install multiple versions at once and switch the default between them using ruby-switch. More details on what is provided and how to use everything on the docs page.

Try Brightbox

You can sign up for Brightbox in just a couple of minutes and use your £50 free credit to play with Ruby on an SSD Cloud Server.

Commercial support for Ruby

We’ve been supporting Ruby web applications for almost ten years now and we know what we’re doing. So if you want help deploying and running a Ruby app drop us a line about our managed services.

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