The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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

Discussion in 'General Discussion' started by ITGabs, Aug 15, 2014.

  1. ITGabs

    ITGabs Well-Known Member

    Joined:
    Jul 30, 2013
    Messages:
    81
    Likes Received:
    0
    Trophy Points:
    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?
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,694
    Likes Received:
    654
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    There is no native support for Rails 3.x at this time, however it's planned for the future. This is discussed in the following thread:

    Ruby Update

    You may also find the following thread helpful:

    Rails 3.x Workaround

    Thank you.
     
  3. ITGabs

    ITGabs Well-Known Member

    Joined:
    Jul 30, 2013
    Messages:
    81
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
  4. ITGabs

    ITGabs Well-Known Member

    Joined:
    Jul 30, 2013
    Messages:
    81
    Likes Received:
    0
    Trophy Points:
    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
     
Loading...

Share This Page