How do I upgrade my ruby 1.9.2-p0 to the latest patch level using rvm?

First of all, update your RVM installation by running rvm get stable.

To make sure you’re running the new RVM version, you’ll then need to run rvm reload (or just open a new terminal).

Once that’s done, you can ask RVM to list the ruby versions available to install by running rvm list known.

In the output you should now see:

# MRI Rubies
...
[ruby-]1.9.2[-p320]
...

The square brackets around the patch level indicate that this is currently RVM’s default patch level for ruby 1.9.2.

Finally, to install the new ruby version, just run rvm install 1.9.2 – and wait for it to compile!

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)