我尝试执行以下操作:
sudo gem install rails
我总是收到错误信息:
Successfully installed rails-3.0.9
1 gem installed
Installing ri documentation for rails-3.0.9...
file 'lib' not found
Installing RDoc documentation for rails-3.0.9...
file 'lib' not found
我该如何解决?
答案1
这是文档的问题,gem本身安装正确,为避免报告错误使用:
gem install rails --no-ri --no-rdoc