相关疑难解决方法(0)

在El Capitan上安装Nokogiri(1.6.7)时出错

我的一位开发人员更新了Nokogiri,当拉动更新的Gemfile时,我bundle install失败了.

?  my-project git:(master) bundle install
Fetching source index from https://rubygems.org/
Using rake 10.4.2
Using i18n 0.7.0
Using json 1.8.3
Using minitest 5.8.3
Using thread_safe 0.3.5
Using tzinfo 1.2.2
Using activesupport 4.2.3
Using builder 3.2.2
Using erubis 2.7.0
Using mini_portile2 2.0.0

Gem::Ext::BuildError: ERROR: Failed to build gem native extension.

    /Users/me/.rvm/rubies/ruby-2.1.2/bin/ruby extconf.rb --use-system-libraries
checking if the C compiler accepts ... yes
checking if the C compiler accepts -Wno-error=unused-command-line-argument-hard-error-in-future... no
Building nokogiri using system libraries.
libxml2 version 2.6.21 or …
Run Code Online (Sandbox Code Playgroud)

ruby ruby-on-rails nokogiri rvm

47
推荐指数
3
解决办法
2万
查看次数

标签 统计

nokogiri ×1

ruby ×1

ruby-on-rails ×1

rvm ×1