fdnven

Well-Known Member
Feb 14, 2006
120
1
168
Hi,

After following this page Installing Ruby. I am unable to confirm ruby install.

Code:
[email protected] [~]# yum list ruby
Loaded plugins: fastestmirror, presto
Loading mirror speeds from cached hostfile
 * base: centosi3.centos.org
 * extras: centosv4.centos.org
 * updates: centosb6.centos.org
Error: No matching Packages to list
Frank
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,201
363
Hello :)

This is normal output after a Ruby installation because it's not installed through your system package manager (YUM). You can confirm it's installed with the following command:

Code:
ruby -v
Thank you.
 

fdnven

Well-Known Member
Feb 14, 2006
120
1
168
Hi,

I am trying to set up a custom metric from a monitoring service. Troubleshooting the ruby issue. The vendor ask this about the yum.conf
Can you remove "ruby*" from the exclude line, then try running the installer again?
Is this safe to do in cPanel system?

Thanks
Frank
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,201
363
Ruby is intentionally excluded in the /etc/yum.conf file because it's managed by cPanel when it's installed with the Ruby installer. Removing it's exclusion from /etc/yum.conf is not supported. You are welcome to do so, but keep in mind it will no longer be managed by cPanel, and would require your own custom installation.

Thank you.