Saturday, June 25, 2011

Installing rvm on Ubuntu 11.04

Previous: GoogleEarth installation on Ubuntu 11.04

I started by referring both to the rvm installation guide and to the notes I had made when I installed rvm on 10.04: Ubuntu 10.04 upgrade on Toshiba Satellite: Ruby Version Manager.

They have simplified the installation process for rvm. You used to have to comment a line in .bashrc and then run a script and
then uncomment the line again. They've improved the process so that isn't necessary anymore. Makes the world a better place.

The rvm installation itself worked exactly as documented in the rvm installation guide, so I won't repeat the steps here.

Installed ruby 1.9.2 and 1.8.7 and set 1.9.2 as the default ruby version:
rvm install 1.9.2
rvm install 1.8.7
rvm --default use 1.9.2
This all worked fine and it was easy to switch between versions:

ruby -v (it reported 1.9.2)
rvm use 1.8.7
ruby -v (it reported 1.8.7)
use default
ruby -v (it reported 1.9.2)

Next: Getting Instiki working on Ubuntu 11.04

No comments:

Post a Comment