首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > Ruby Rails >

Ruby安装有关问题

2012-03-02 
Ruby安装问题XP下全新安装好ruby1.9.2后,执行 gem update报下列错误:D:\Rubygem updateUpdating installe

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 

热点排行