Friday, 17 August 2012

RVM - The Ruby Version Manager

Managing different version of the same compiler is always a headache for the coders. For example, Python 2.x has slightly syntax difference with Python 3.x, so some program only works on a specific version of Python...

In the case of Ruby, there is a specific Ruby Version Manager, which maks the life of the coders much easier.

Here are some easy commands:

1. List all the packages installable:

rvm list known

2. Install a specific ruby version

rvm install rubyName

For example, to install the laste version of Ruby

rvm install ruby-head

3. List all the installed rubies

rvm list

4. Uninstall a specific ruby

rvm uninstall ruby-head

5. Make some clean-up operations

rvm cleanup

Beside the official ruby, it is useful also for install other version of Rubies, such as jRuby or ironRuby.

About me

I am software engineer and I am working as Android Engineer in Dubizzle (Dubai)

I am very interested in the world of Smart phones because it represents a revolution which is changing the world. I am learning how to program with Android and few times ago, to program with iOS. My intention is have knowledge of both worlds and try to improve que quality of my programs by using the best of them.

About this blog

The purpose of this blog is record all the technic information about all the projects that I have been part, which could be useful in the future. If you have some problem with them, just put some comment.