Upgrading ruby 1.8.7 into ruby 1.9.2 using RVM on Fedora 14


upgrading ruby 1.8.7 into ruby 1.9.2

Hai Friends,

lets see “Upgrading ruby 1.8.7 into ruby 1.9.2 on Fedora 14″

First we have to install all of the necessary tools and libraries:


 $ sudo yum install curl git-core build-essential zlib1g-dev libssl-dev libreadline5-dev

Install ruby 1.9.2 using RVM:


 $ bash < <( curl http://rvm.beginrescueend.com/releases/rvm-install-head )

Oprn your “.bashrc” file and add the following line into .bashrc file


 $ sudo gedit .bashrc

(Add the following line into .bashrc file)

 if [[ -s "$HOME/.rvm/scripts/rvm" ]]  ; then source "$HOME/.rvm/scripts/rvm" ; fi

Close your terminal and open a new one, then run the following to test RVM install:


 $ rvm notes

Next, we can begin ruby 1.9.2 installation by running:

 $ rvm install 1.9.2

This install will take up to some minutes and once it completes you have to set ruby 1.9.2 as the default version:

 $ rvm --default ruby-1.9.2

Then you can test your new ruby install:

 $ ruby -v

That’s all !!!  

Published by Tha.Suresh

No pain No gain!

2 thoughts on “Upgrading ruby 1.8.7 into ruby 1.9.2 using RVM on Fedora 14

  1. When I execute the following command, I got an error. If you know another solution the solve the problem.

    $ bash < <( curl http://rvm.beginrescueend.com/releases/rvm-install-head )
    % Total % Received % Xferd Average Speed Time Time Time Current
    Dload Upload Total Spent Left Speed
    0 0 0 0 0 0 0 0 –:–:– 0:00:01 –:–:– 0 0 0 0 0 0 0 0 –:–:– 0:00:01 –:–:– 0
    curl: (7) couldn't connect to host

Leave a comment