Install and Upgrade Ruby from 1.8.7 to 1.9.x with rails 3.2.x

ITGabs

Well-Known Member
Jul 30, 2013
81
0
6
cPanel Access Level
Root Administrator
Hi,

I had ruby 1.8.7 2013 (deprecated) and rails 3.2.x
after some recommendations in this forum, I executed this script to upgrade ruby

/scripts/installruby

There was a problem and the script asked me to downgrade rails to 2.3.18

I tried others scripts

gem update rails
/usr/local/cpanel/bin/ror_setup
gem install fastthread
gem update --system

but the result now is ruby 1.8.7 2013 (no upgrade at all) and rails 2.3.18 downgrade!!

why I can't upgrade Ruby? seems that is looked by cPanel to work with old versions?

I need 1.9.x and rails 3.2.x it's possible?
 

ITGabs

Well-Known Member
Jul 30, 2013
81
0
6
cPanel Access Level
Root Administrator
Finally I used this guide to install ruby and rails (note that this is for a standalone redmine install) Install Redmine 25x on Centos 65 complete - Redmine but the part related to ruby works ok

I didn't use the script /scripts/installruby since all the time I need to delete libs or be forced to use the old ones so I started after I removed everything related to Ruby on rails

I am using ruby 1.9.x with the latest rail 4.x and the latest passenger, I am currently have two installs of redmine 2.3.x and 2.5.x I will try a install of clockingit.

Sure the cPanel support of Ruby is not working in my server but I am using git and redmine as core apps