The first stable release of Ruby 2.4 arrived on schedule on December 25th. As usual, it has various 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 trivially 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.4 ruby2.4-dev
And you’re up and running:
$ ruby2.4 -v
ruby 2.4.0p0 (2016-12-24 revision 57164) [x86_64-linux-gnu]
It’s available for Ubuntu 12.04 (Precise), Ubuntu 14.04 (Trusty), 16.04 (Xenial) and 16.10 (Yakkety).
As always, the same repository provides updated Ruby packages for 1.8, 1.9, 2.0, 2.1, 2.2 and 2.3 for Precise through to Yakkety.
More details on what’s provided and how to use it on the docs page.
You can sign up for Brightbox in just a couple of minutes and use your £50 free credit to play with Ruby 2.4 on a UK cloud server.
We’ve been supporting Ruby web applications since way back in 2007 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.