新手问题 Nokogiri 安装提示:unable to convert "\xC0" from ASCII-8BIT to UTF-8

pacingwang · April 12, 2013 · Last by pacingwang replied at April 12, 2013 · 3653 hits

刚才在安装 nokogiri,遇到了一点问题

$ gem install nokogiri      
提示:unable to convert "\xC0" from ASCII-8BIT
to UTF-8 for lib/nokogiri/nokogiri.so, skipping  1 gem installed

有人遇到过这样的提示吗,求救

试试看

gem install nokogiri --no-ri --no-rdoc

@lgn21st 好了,谢谢

你可以放一个 .gemrc 配置文件在你的用户目录下,这个是我的

---
:benchmark: false
:bulk_threshold: 1000
:sources:
  - https://rubygems.org/
:update_sources: true
:verbose: true
:gem: --no-ri --no-rdoc

@lgn21st 改好了,谢谢。谢谢你的热心帮助

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