Skip to content

Instantly share code, notes, and snippets.

@atz
Created April 24, 2015 21:33
Show Gist options
  • Save atz/c49bb13c9a17dcd56c2f to your computer and use it in GitHub Desktop.
Save atz/c49bb13c9a17dcd56c2f to your computer and use it in GitHub Desktop.
bundle install error
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
/Users/atz/.rvm/rubies/ruby-1.9.3-p547/bin/ruby extconf.rb
checking for main() in -lstdc++... yes
creating Makefile
make clean
make
compiling unf.cc
In file included from unf.cc:1:
In file included from ./unf/normalizer.hh:4:
In file included from /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/vector:265:
In file included from /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/__bit_reference:15:
In file included from /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/algorithm:628:
In file included from /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/memory:604:
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/iterator:341:10: fatal error: '__debug' file not found
#include <__debug>
^
1 error generated.
make: *** [unf.o] Error 1
make failed, exit code 2
Gem files will remain installed in /Users/atz/.rvm/gems/ruby-1.9.3-p547/gems/unf_ext-0.0.7.1 for inspection.
Results logged to /Users/atz/.rvm/gems/ruby-1.9.3-p547/extensions/x86_64-darwin-13/1.9.1/unf_ext-0.0.7.1/gem_make.out
An error occurred while installing unf_ext (0.0.7.1), and Bundler cannot continue.
Make sure that `gem install unf_ext -v '0.0.7.1'` succeeds before bundling.
@saramoohead
Copy link

Or, just open XCode and accept the license agreement, if it pops up.

@piratetone
Copy link

Hey - I'm not OP, but you guys are life savers. Updating xcode worked!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment