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!

In Progress [CPANEL-21319] Legacy RubyGems interfaces are not functional in Centos 7

Discussion in 'EasyApache' started by deddy, Dec 12, 2018.

Tags:
  1. deddy

    deddy Well-Known Member

    Joined:
    Oct 13, 2003
    Messages:
    143
    Likes Received:
    1
    Trophy Points:
    168
    cPanel Ruby Gems
    Install a Ruby Gem
    Installing Ruby Gem “compass”.
    ERROR: While executing gem ... (OptionParser::InvalidOption) invalid option: -y
    Installing Ruby Gem “bundler”.
    ERROR: While executing gem ... (OptionParser::InvalidOption) invalid option: -y
    ... and so on.

    This cPanel feature is not working.
    All users are affected
    EA4 CentOS7.6 v76.0.13

    How can I fix this Problem ?
    Thanks.
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    47,555
    Likes Received:
    2,182
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
  3. deddy

    deddy Well-Known Member

    Joined:
    Oct 13, 2003
    Messages:
    143
    Likes Received:
    1
    Trophy Points:
    168
    cPanel --> RubyGems -->Installing Ruby Gem "bundler"

    cPanel version v76.0. killed this option.
    cPanel version v70.0.62 is still fine in case of RubyGems

    RubyGems is now legacy, but I think it would have been better to remove the button before intentionally destroying the function.

    Thank you.
     
  4. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    47,555
    Likes Received:
    2,182
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello @deddy,

    This was not intentional. It looks like Centos 7 began shipping RubyGems version 2.0. This version removes the "-y" option from the gem utility and thus results in failed calls from the deprecated Ruby interfaces in cPanel (the legacy interfaces invoke the "-y" option).

    Internal case CPANEL-21319 is open to address this issue, however I don't have a specific time frame to offer on a solution at this time. It's possible the solution will be to remove the legacy interfaces from the UI completely. I'll monitor this case and update this thread with more information as it becomes available.

    In the meantime, the recommended workaround is to follow the instructions at:

    How to Create Ruby Web Applications - cPanel Knowledge Base - cPanel Documentation

    Thank you.
     
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