首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >安装fog -无法从ASCII-8位转换为UTF-8

安装fog -无法从ASCII-8位转换为UTF-8
EN

Stack Overflow用户
提问于 2013-11-25 22:39:22
回答 2查看 3.6K关注 0票数 2

我需要安装fog来使用SDK与openstack接口并创建一个插件。到目前为止,我在第一步就失败了。我正在寻找关于如何调试这些错误的任何建议,以及对安装是否还在那里的任何意见。

代码语言:javascript
复制
gem install fog
Fetching: builder-3.2.2.gem (100%)
Successfully installed builder-3.2.2
Fetching: excon-0.28.0.gem (100%)
Successfully installed excon-0.28.0
Fetching: formatador-0.2.4.gem (100%)
Successfully installed formatador-0.2.4
Fetching: multi_json-1.8.2.gem (100%)
Successfully installed multi_json-1.8.2
Fetching: mime-types-2.0.gem (100%)
Successfully installed mime-types-2.0
Fetching: net-scp-1.1.2.gem (100%)
Successfully installed net-scp-1.1.2
Fetching: mini_portile-0.5.2.gem (100%)
Successfully installed mini_portile-0.5.2
Fetching: nokogiri-1.6.0.gem (100%)
Building native extensions.  This could take a while...
Successfully installed nokogiri-1.6.0
Fetching: ruby-hmac-0.4.0.gem (100%)
Successfully installed ruby-hmac-0.4.0
Fetching: fog-1.18.0.gem (100%)
Successfully installed fog-1.18.0
Installing ri documentation for builder-3.2.2
Installing ri documentation for excon-0.28.0
Installing ri documentation for fog-1.18.0
Installing ri documentation for formatador-0.2.4
Installing ri documentation for mime-types-2.0
Installing ri documentation for mini_portile-0.5.2
Installing ri documentation for multi_json-1.8.2
Installing ri documentation for net-scp-1.1.2
unable to convert "\xE4" from ASCII-8BIT to UTF-8 for ext/nokogiri/tmp/x86_64-apple-darwin12.4.0/ports/libxml2/2.8.0/libxml2-2.8.0/doc/examples/testWriter.c, skipping
unable to convert "\xF8" from ASCII-8BIT to UTF-8 for ext/nokogiri/tmp/x86_64-apple-darwin12.4.0/ports/libxml2/2.8.0/libxml2-2.8.0/entities.c, skipping
unable to convert "\xE9" from ASCII-8BIT to UTF-8 for ext/nokogiri/tmp/x86_64-apple-darwin12.4.0/ports/libxml2/2.8.0/libxml2-2.8.0/runtest.c, skipping
unable to convert "\xC0" from ASCII-8BIT to UTF-8 for ext/nokogiri/tmp/x86_64-apple-darwin12.4.0/ports/libxml2/2.8.0/libxml2-2.8.0/test/XInclude/ents/isolatin.txt, skipping
unable to convert "\xF8" from ASCII-8BIT to UTF-8 for ext/nokogiri/tmp/x86_64-apple-darwin12.4.0/ports/libxml2/2.8.0/libxml2-2.8.0/testapi.c, skipping
unable to convert "\xF6" from ASCII-8BIT to UTF-8 for ext/nokogiri/tmp/x86_64-apple-darwin12.4.0/ports/libxslt/1.1.26/libxslt-1.1.26/ChangeLog, skipping
unable to convert "\xF6" from ASCII-8BIT to UTF-8 for ext/nokogiri/tmp/x86_64-apple-darwin12.4.0/ports/libxslt/1.1.26/libxslt-1.1.26/libxslt/xslt.c, skipping
unable to convert "\xE1" from ASCII-8BIT to UTF-8 for ext/nokogiri/tmp/x86_64-apple-darwin12.4.0/ports/libxslt/1.1.26/libxslt-1.1.26/NEWS, skipping
unable to convert "\x89" from ASCII-8BIT to UTF-8 for ext/nokogiri/tmp/x86_64-apple-darwin12.4.0/ports/libxslt/1.1.26/libxslt-1.1.26/tests/xmlspec/logo-REC, skipping
unable to convert "\xFD" from ASCII-8BIT to UTF-8 for ext/nokogiri/tmp/x86_64-apple-darwin12.4.0/ports/libxslt/1.1.26/libxslt-1.1.26/win32/Readme.txt, skipping
unable to convert "\xCF" from ASCII-8BIT to UTF-8 for ports/x86_64-apple-darwin12.4.0/libxml2/2.8.0/bin/xmlcatalog, skipping
unable to convert "\xCF" from ASCII-8BIT to UTF-8 for ports/x86_64-apple-darwin12.4.0/libxml2/2.8.0/bin/xmllint, skipping
unable to convert "\xCF" from ASCII-8BIT to UTF-8 for ports/x86_64-apple-darwin12.4.0/libxslt/1.1.26/bin/xsltproc, skipping
Installing ri documentation for nokogiri-1.6.0
Installing ri documentation for ruby-hmac-0.4.0
10 gems installed

由于某种原因,我得到了上述错误。我能做些什么来解决这个问题吗?

EN

回答 2

Stack Overflow用户

回答已采纳

发布于 2014-01-25 04:48:35

您需要更新rdoc:

代码语言:javascript
复制
gem update rdoc

然后再试着安装fog :您不应该看到这些错误。或者,如果您不愿意重新安装fog,则只需重新生成rdoc文档:

代码语言:javascript
复制
gem rdoc --all --overwrite
票数 4
EN

Stack Overflow用户

发布于 2013-11-25 23:37:22

你的宝石安装正确。如果希望在将来阻止该错误,可以通过运行以下命令排除文档:

代码语言:javascript
复制
gem install fog --no-ri

哦,看,它现在安装得更快了,耶!

票数 3
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/20204892

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档