Gem unable to convert "\xC0" from ASCII-8BIT to UTF-8 for lib/nokogiri/nokogiri.so, skipping

string2020 · 2015年03月20日 · 3067 次阅读

用 capistrano3 部署的时候,失败,报如下错误 The deploy has failed with an error: #<SSHKit::Runner::ExecuteError: Exception while executing as [email protected]: bundle exit status: 5 bundle stdout: Bundler::GemspecError: Could not read gem at /soft/shop/shared/bundle/ruby/2.0.0/cache/nokogiri-1.6.6.2.gem. It may be corrupted. An error occurred while installing nokogiri (1.6.6.2), and Bundler cannot continue. Make sure that gem install nokogiri -v '1.6.6.2' succeeds before bundling. bundle stderr: Nothing written

然后,我就去服务器上执行 gem install nokogiri -v '1.6.6.2'

[job@job4 20150320035844]$ gem install nokogiri -v '1.6.6.2' Building native extensions. This could take a while... Successfully installed nokogiri-1.6.6.2 Parsing documentation for nokogiri-1.6.6.2 unable to convert "\xC0" from ASCII-8BIT to UTF-8 for ../../extensions/x86_64-linux/2.0.0/nokogiri-1.6.6.2/nokogiri/nokogiri.so, skipping unable to convert "\xC0" from ASCII-8BIT to UTF-8 for lib/nokogiri/nokogiri.so, skipping 1 gem installed

操作系统为:centos 6.3 x64 请问,这里是什么问题,怎么解决

暂无回复。
需要 登录 后方可回复, 如果你还没有账号请 注册新账号