专注收集记录技术开发学习笔记、技术难点、解决方案
网站信息搜索 >> 请输入关键词:
您当前的位置: 首页 > Ruby/Rails

Ruby安装有关问题

发布时间:2011-06-29 18:43:23 文章来源:www.iduyao.cn 采编人员:星星草
Ruby安装问题
XP下全新安装好ruby1.9.2后,执行 gem update

报下列错误:


D:\Ruby>gem update
Updating installed gems
Updating minitest
Successfully installed minitest-2.0.2
Updating rdoc
RDoc 2.5 did not save method parameters, so you should upgrade your rdoc-data
gem to a version >= 2.5.3.

To have ri data for core and stdlib you'll need to:

  gem install rdoc-data

then run:

  rdoc-data --install

To have ri data for you gems you'll also need to run:

  gem rdoc --all --overwrite

If you don't want to rebuild the rdoc for `gem server`, add --no-rdoc.
Successfully installed rdoc-3.3
Gems updated: minitest, rdoc
Installing ri documentation for minitest-2.0.2...
Installing ri documentation for rdoc-3.3...
unable to convert U+00A9 from UTF-8 to GBK for lib/rdoc/text.rb, skipping
Installing RDoc documentation for minitest-2.0.2...
ERROR: While executing gem ... (Encoding::UndefinedConversionError)
U+00A9 from UTF-8 to GBK

后续装很多东西也是相同的错误,请问该怎么解决?

------解决方案--------------------
上面描述很详细呀。看着像RDoc的问题,安装各种gem的时候加参数
Perl code
--no-rdoc --no-ri
友情提示:
信息收集于互联网,如果您发现错误或造成侵权,请及时通知本站更正或删除,具体联系方式见页面底部联系我们,谢谢。

其他相似内容:

热门推荐: