Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 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 everetteallen commented Feb 11, 2015

k looks like I needed to fix my Xcode trying that

Copy link

@nilbus nilbus commented Feb 11, 2015

@nilbus nilbus added the question label Feb 11, 2015
@nilbus nilbus added this to the Cleanup for other developers milestone Feb 11, 2015
Copy link

@everetteallen 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 in a67b323 Feb 11, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.