Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,367
    Likes Received:
    1,855
    Trophy Points:
    363
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. ITGabs

    ITGabs Well-Known Member

    Joined:
    Jul 30, 2013
    Messages:
    81
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  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
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice