Link to home
Start Free TrialLog in
Avatar of Shakthi777
Shakthi777Flag for Afghanistan

asked on

Upgrading Ruby & Rails on CentOS

Hi Experts,

I have no previous experience with Ruby on Rails. I'm trying to upgrade it from;

CentOS
[root@server1 ~]# uname -r
2.6.18-238.12.1.el5

[root@server1 ~]# ruby -v
ruby 1.8.5 (2006-08-25) [x86_64-linux]

[root@server1 ~]# rails -v
Rails 2.1.1

TO;
Ruby 1.8.72, 1.9.2, 1.9.3, 2.0.01, jruby-1.6.7, jruby-1.7.2      
Rails 3.2.13

What is the best approach for this ? any HOWTOS?
Any support would be highly appreciated.

Thanks !
ASKER CERTIFIED SOLUTION
Avatar of F. Dominicus
F. Dominicus
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Shakthi777

ASKER

Tnx  alot !
Your system has not been upgraded since 2011 (it is called CentOS 5.6)
yum upgrade will just apply security patches to same ruby and rails (at least system will become secure, at small chance something is so customized from defaults that you need to figure out how it broke)

CentOS 6 will give ruby 1.8.7.patch with rubygem to install rails

Ubuntu LTS and Debian are better at fresh versions of software and long support.