How to find and install latest Ruby version using RVM?

Solution 1:

The following command will install latest stable version of ruby:

rvm install ruby --latest

Solution 2:

you can install latest rvm and ruby by :

$ \curl -L https://get.rvm.io | bash -s stable --ruby

and check all the ruby version with stability

$ rvm list known

can also check details here : http://www.ruby-lang.org/en/downloads/

$ rvm install ruby 2.0.0-p247 

Use when you want to download specific version or know this is stable.