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!

Ruby support on CentOs 7 WHM 11.50

Discussion in 'General Discussion' started by Joao Beno, Jul 16, 2015.

  1. Joao Beno

    Joao Beno Registered

    Jun 19, 2015
    Likes Received:
    Trophy Points:
    Goiânia, Goiás, Brasil
    cPanel Access Level:
    Root Administrator
    Hello friends! The title pretty much explains what I want...

    I did:
    root@server [/scripts]# yum list ruby
    Plugins carregados: fastestmirror
    Loading mirror speeds from cached hostfile
    * base:
    * epel:
    * extras:
    * updates:
    Pacotes disponíveis
    ruby.x86_64                                                                        updates 
    And I got this:
    root@server [/scripts]# ./installruby
    warn [installruby] Unable to locate gem binary.
    warn [installruby] Unable to locate ruby binary.
    info [checkccompiler] /root/.cpanel/datastore/Cpanel::Sys::Compiler::test_compile_gcc
    C compiler (/usr/bin/gcc) OK (cached Thu Jul 16 12:46:27 2015)
    Tuned C compiler not available because it is not enabled
    info [installsqlite3] Sqlite3 is already installed.
    Error: This script only works with the Ruby version distributed with Red Hat 6, CentOS 6, and CloudLinux 6.
    Is there any way to get ruby on CentOs 7?
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Apr 11, 2011
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    Hello :)

    This was recently brought up with internal case number 192221. To paraphrase the response from our development team, Mongrel will segfault with Ruby newer than version 1.8.7. Ruby can be installed through YUM and the gem functionality will work correctly if you run the following command:

    yum install -y ruby rubygems
    However, Rails will not function on CentOS 7. The referenced case number seeks to clarify this when customers attempt to run the "installruby" script.

    Thank you.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

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