gpt4 book ai didi

ruby-on-rails - 安装 fog - 无法从 ASCII-8BIT 转换为 UTF-8

转载 作者:数据小太阳 更新时间:2023-10-29 08:23:14 31 4
gpt4 key购买 nike

我需要安装 fog 以使用 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:您应该不会看到这些错误。或者,如果您不想重新安装 fog,您可以重新生成您的 rdoc 文档:

gem rdoc --all --overwrite

关于ruby-on-rails - 安装 fog - 无法从 ASCII-8BIT 转换为 UTF-8,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20204892/

31 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com