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

string2020 · March 20, 2015 · 3051 hits

用 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 请问,这里是什么问题,怎么解决

No Reply at the moment.
You need to Sign in before reply, if you don't have an account, please Sign up first.