I have: CentOS release 6.4 (Final)
As it happened, I removed ruby:
rm -rf /usr/local/lib/ruby rm -Rf /usr/lib/ruby
I tried to update, remove, reinstall ruby and rubygems, but unfortunately does not work :( But I have the following errors:
[root@localhost /]# gem --version :1:in 'require': cannot load such file -- rubygems.rb (LoadError) from :1:in ''
Maybe you have some ideas?