首页 > 代码库 > 安装rubygems

安装rubygems

转载 http://blog.csdn.net/huanghai200911/article/details/51251472
1,下载rubygems-2.4.8.tar包,下载地址:https://rubygems.org/pages/download 点击下载TGZ
2,tar -zxvf 解压该压缩包
3,进入解压目录,执行:ruby setup.rb
4,如果出现错误提示说:ERROR:RDoc documentation generator not installed: no such file to l
5,安装依赖包:yum install ruby-rdoc
6,再次执行ruby setup.rb即可完成安装
7,安装rubygems出现ERROR:RDoc documentation generator not installed: no such file to l
     解决办法:yum install ruby-rdoc

安装rubygems