Upgrading to Ruby 2.1.0 using rvm

29 sec read

Yaay Ruby 2.10 has been released and here is how to upgrade it using rvm
First update rvm lists, so that rvm knows that ruby 2.1.0 is been released using the following command
[sourcecode lang=”bash”]
$ rvm get stable
[/sourcecode]
Once its done, install ruby 2.1.0 in your computer by typing this stuff in your console
[sourcecode lang=”bash”]
$ rvm install 2.1.0
[/sourcecode]
Once all that downloading, compiling and installing stuff is done (done by good rvm). You have got Ruby 2.1.0!
Now if you want this latest Ruby to be your default one (which I recommend) , just punch in these lines
[sourcecode lang=”bash”]
$ rvm –default use 2.1.0
[/sourcecode]
and yaay thats it, type ruby -v and if you get some output like ruby 2.1.0p0 (2013-12-25 revision 44422) [x86_64-linux] you have got it. Ruby is now 2.1.0 on your computer. Start jumping!

Related posts:

My Testing Experience with Healthcare Project

Hi Folks, I am working on a healthcare related web application. I would like to share few interesting things that I came across while...
Ashwin Sundarabaskar
5 min read

Fix for Net::OpenTimeout: execution expired When on AWS with…

If you happen to see the error “Net::OpenTimeout: execution expired” and if it originating from /home/ubuntu/.rvm/rubies/ruby-x.x.x/lib/ruby/x.x.x/net/smtp.rb and if you are running your server on...
Praveen Kumar
15 sec read

One Reply to “Upgrading to Ruby 2.1.0 using rvm”

Leave a Reply

Your email address will not be published. Required fields are marked *