How to install Ruby 2.1.4 on Ubuntu 14.04
I dont know how to install the latest Ruby on Ubuntu. First I installed the default Ruby 1.9.3, using sudo apt-get install ruby Then I tried to install the 2.0 version using sudo apt-get install ruby2.0 My version of Ruby is still "ruby 1.9.3p484 (2013-11-22 revision 43786) [x86_64-linux])" What should I do? First of all, install the prerequisite libraries: sudo apt-get update sudo apt-get install git-core curl zlib1g-dev build-essential libssl-dev libreadline-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev libcurl4-openssl-dev python-software-properties libffi-dev Then install