Upgrading Ruby Patch With RVM

37 sec read

I would like to share my knowledge about ruby patch level upgrade. I am using the ruby version 1.9.3 for one of my project from the beginning itself,
~$ ruby -v
ruby 1.9.3p392 (2012-11-10 revision 37606) [i686-linux]

I installed ruby using Ruby Version Manager (RVM).
I want to update this ruby version with latest patch. How can I do this? It’s very simple, Watch the following steps,
Upgrading RVM
To upgrade to the most stable version, First run the following command
rvm get stable
rvm reload
RVM will automatically detect existing version of 1.9.3 and will check if it is lower then highest available patch level
In order to see the patch level list run the following command.
rvm list known
Upgrading Ruby patch
The following command Upgrades the specified ruby patch with latest,
rvm upgrade 1.9.3
Upgrade is easy, it does all at once, i.e, will migrate gemsets, wrappers, aliases and environment files. The process will prompt you at each stage.
Done. Successfully Upgraded ruby patch.
~$ ruby -v
ruby 1.9.3p448 (2013-06-27 revision 41675) [i686-linux]

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

Leave a Reply

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