yum install rubygems
如果失败,请尝试手动安装:
wget http://rubyforge.org/frs/download.PHP/74922/rubygems-1.8.4.tgz tar xzpvf rubygems-1.8.4.tgz cd rubygems-1.8.4 ruby setup.rb