As is the yearly tradition, a new stable version of Ruby, 2.2.0, was released on the 25th December.
We’re of course providing Ubuntu packages for Ubuntu 14.10 (Utopic), 14.04 (Trusty) and 12.04 (Precise).
Ruby 2.2 has got a lot going on, particularly incremental garbage collection which should reduce GC pause times and symbol garbage collection, which is actually going to be a requirement for Rails 5.0.
Using these (and our other Ruby packages) is as easy as running:
apt-add-repository ppa:brightbox/ruby-ng
apt-get update
apt-get install ruby2.2
ruby2.2 -v
ruby 2.2.0p0 (2014-12-25 revision 49005) [x86_64-linux-gnu]
You can easily build an ubuntu cloud server on Brightbox pre-configured with Ruby 2.2, just by providing this user data:
#cloud-config
apt_sources:
- source: ppa:brightbox/ruby-ng
packages:
- ruby2.2
We also provide Ubuntu packages for Ruby 2.1, 2.0, 1.9 and are still maintaining 1.8 even. More details of these available here. If you need any help or have any feedback, join the mailing list.
You can sign-up with us in just two minutes and get a £50 credit to play with Ruby 2.2.