I just cannot install Ruby on my CentOS (which is also hosting a cPanel).
sudo yum install ruby ruby-devel ruby-irb ruby-rdoc ruby-ri
audit_log_user_command(): Connection refused
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
base | 1.1 kB 00:00
updates | 951 B 00:00
addons | 951 B 00:00
extras | 1.1 kB 00:00
Excluding Packages in global exclude list
Finished
Setting up Install Process
Parsing package install arguments
No package ruby available.
No package ruby-devel available.
No package ruby-irb available.
No package ruby-rdoc available.
No package ruby-ri available.
Nothing to do
What can be the problem?
Thanks
The recommended way to install ruby on a cPanel/WHM server is to run the script /scripts/installruby as root. Or you could remove ruby from the exclude list at your own risk.
More info at:
http://docs.cpanel.net/twiki/bin/view/AllDocumentation/RubyonRails/InstallingRuby