Wednesday, May 29, 2013

updating rvm and ruby

I'm starting a new project today, and I wanted to update Ruby to its latest version before starting.

The first thing I tried was to use RVM to upgrade the Ruby version, but it didn't work. I had to upgrade RVM first, so the last Ruby version would be included in the "known Rubies" list:

$ rvm get stable

When I ran rvm list known, it was there:

[ruby-]2.0.0[-p195]

And this last command did the trick:

$ rvm upgrade 2.0.0-p0 2.0.0-p195