[CPANEL-21319] Legacy RubyGems interfaces are not functional in Centos 7
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.
-
Hello @deddy, Can you let me know which option you are using to reproduce that error message? Ensure to review the information on the following document: How to Create Ruby Web Applications - cPanel Knowledge Base - cPanel Documentation Thank you. 0 -
RubyGems is now legacy, but I think it would have been better to remove the button before intentionally destroying the function.
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.0
Please sign in to leave a comment.
Comments
3 comments