小编xou*_*m89的帖子

安装nokogiri时出错(1.5.2)

当我尝试在rails项目上运行ruby时出现错误:

An error occurred while installing nokogiri (1.5.2), and bundle cannot continue.
Make sure that 'gem install nokogiri -v 1.5.2 succeed before building.
Run Code Online (Sandbox Code Playgroud)

我正在研究Ubuntu 10.10

我的同事在Windows/RVM上使用并没有这个问题.

编辑:

gem_make.out

/opt/bitnami/ruby/bin/ruby extconf.rb
extconf.rb:10: Use RbConfig instead of obsolete and deprecated Config.
checking for libxml/parser.h... yes
checking for libxslt/xslt.h... yes
checking for libexslt/exslt.h... yes
checking for iconv_open() in iconv.h... no
checking for iconv_open() in -liconv... no
-----
libiconv is missing.  please visit http://nokogiri.org/tutorials/installing_nokogiri.html for help with installing dependencies.
-----
*** extconf.rb failed *** …
Run Code Online (Sandbox Code Playgroud)

ruby-on-rails nokogiri ubuntu-10.10

8
推荐指数
3
解决办法
1万
查看次数

标签 统计

nokogiri ×1

ruby-on-rails ×1

ubuntu-10.10 ×1