正在安装雾-无法从ASCII-8BIT转换为UTF-8



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

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

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

您需要更新rdoc:

gem update rdoc

然后再次尝试安装fog:您不应该看到这些错误。或者,如果你不想重新安装雾,你可以重新生成你的rdoc文档:

gem rdoc --all --overwrite

您的gem安装正确。如果你想在将来抑制这个错误,你可以通过运行来排除文档

gem install fog --no-ri

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

相关内容

最新更新