I'm running Ubuntu 16.04.
My ruby version is: ruby 2.3.0p0 (2015-12-25) [x86_64-linux-gnu]
How can I downgrade ruby to version 2.1 to be in line with the rest of my development team (some of our project dependencies are not compatible with version 2.3)?
I have tried the instructions on https://www.brightbox.com/docs/ruby/ubuntu/#Installingthepackages:
sudo apt-get install ruby2.1
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'libruby2.1' for regex 'ruby2.1'
0 upgraded, 0 newly installed, 0 to remove and 17 not upgraded.
My Ubuntu installation only have version 2.3:
ls /usr/lib/ruby/
2.3.0 gems vendor_ruby
Any other ideas on how can I downgrade Ruby to version 2.1?