Cannot install Ruby on CentOS
For Ruby 1.8.6 I had to add another repository.
Create /etc/yum.repos.d/ruby.repo and add the following:
[ruby]
name=ruby
baseurl=http://repo.premiumhelp.eu/ruby/
gpgcheck=0
enabled=0
Then
yum --enablerepo=ruby install ruby
From www.centos.org forums.
Don’t bother installing rubygems this way, it’s obsolete.