I'm finding the task of installing ruby 2.0 on the latest Ubuntu 14.04 rather frustrating. I'm aware that I could forgo the packages and install from source - but I'd far rather install a package - if that is possible.
I found this question/answer about ruby on 13.10 - which looked like what I wanted.
Unfortunately, the strategy doesn't seem viable - the ruby-switch package has been deleted in 14.04.
http://www.ubuntuupdates.org/package/core/trusty/universe/base/ruby-switch
The deletion of the package references a bug which, to me, looks entirely unrelated.
I'm bemused about why installing ruby2.0 using apt-get installs ruby1.9 and makes it the default ruby interpreter. I do get a ruby2.0 binary - but scripts (which depend upon a 2.0 interpreter when executing ruby) don't pick it up. Furthermore, when I use gem et. al. to install ruby packages - these seem to be installed for ruby1.9 rather than 2.0. Very unsatisfactory.
Can anyone offer a hint as to the most straightforward way to install ruby 2.0 as the standard ruby interpreter? How am I expected to switch from ruby 1.9 to 2.0 without ruby-switch?