Skip to content
This repository has been archived by the owner before Nov 9, 2022. It is now read-only.

Gems error on OS X with 2.4... #59

everetteallen opened this issue Feb 11, 2015 · 3 comments

Gems error on OS X with 2.4... #59

everetteallen opened this issue Feb 11, 2015 · 3 comments


Copy link

everetteallen commented Feb 11, 2015

So pulled down your latest tonight and I am getting this GEMS issue. Ideas?

bundle install
Fetching source index from
Using rake 10.4.2
Using i18n 0.7.0
Using json 1.8.2
Using minitest 5.5.1
Using thread_safe 0.3.4
Using tzinfo 1.2.2
Installing activesupport 4.2.0
Using builder 3.2.2
Using erubis 2.7.0
Installing mini_portile 0.6.2

Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.

    /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby extconf.rb 
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 packaged libraries.
The file "/usr/include/iconv.h" is missing in your build environment,
which means you haven't installed Xcode Command Line Tools properly.

To install Command Line Tools, try running `xcode-select --install` on
terminal and follow the instructions.  If it fails, open,
select from the menu "Xcode" - "Open Developer Tool" - "More Developer
Tools" to open the developer site, download the installer for your OS
version and run it.
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers.  Check the mkmf.log file for more details.  You may
need configuration options.

Provided configuration options:

Gem files will remain installed in /var/folders/m9/b383yhrj2mgf963rnymwr4980000gn/T/bundler20150210-922-maj383/nokogiri- for inspection.
Results logged to /var/folders/m9/b383yhrj2mgf963rnymwr4980000gn/T/bundler20150210-922-maj383/nokogiri-
An error occurred while installing nokogiri (, and Bundler cannot continue.
Make sure that `gem install nokogiri -v ''` succeeds before bundling.
Copy link

everetteallen commented Feb 11, 2015

k looks like I needed to fix my Xcode trying that

Copy link

nilbus commented Feb 11, 2015

Copy link

everetteallen commented Feb 11, 2015

I believe in providing as much info as possible so I suggest noting the
error and the text it returns in the docs so folks get reinforcement of
what to expect.

On 2/10/15 9:47 PM, Edward Anderson wrote:

Correct, you need xcode command line tools. I am debating about whether or
not this should be included in the readme. I'm leaning toward not, since
the error output tells you what to do. What do you think?

Reply to this email directly or view it on GitHub
#59 (comment).

Everette Gray Allen Systems Programmer II
Office of Information Technology Macintosh Support Specialist
2620 Hillsborough St, Campus Box 7109
Raleigh, NC 27695-7109 AIM: EveretteAlln

@nilbus nilbus closed this as completed in a67b323 Feb 11, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
None yet

No branches or pull requests

2 participants