ruby on rails - Error installing/bundling gem unf_ext -v '0.0.6' -
i'm trying bundle intall unf_ext -v '0.0.6'
keep getting error:
gem::ext::builderror: error: failed build gem native extension. checking main() in -lstdc++... yes checking ruby/encoding.h... yes creating makefile make "destdir=" clean make "destdir=" compiling unf.cc in file included unf.cc:1: in file included ./unf/normalizer.hh:4: in file included /library/developer/commandlinetools/usr/bin/../include/c++/v1/vector:265: in file included /library/developer/commandlinetools/usr/bin/../include/c++/v1/__bit_reference:15: in file included /library/developer/commandlinetools/usr/bin/../include/c++/v1/algorithm:628: in file included /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
i've run gem update --system
, i've brew install coreutils
i'm still getting same error.
update: answer
downloaded , installed commandlinetoolsosx10.10forxcode6.2.dmg
apple developer. no need uninstall anything.
it's bug in new xcode tools. broke eventmachine in case. see missing c++ header <__debug> after updating osx command line tools 6.3 answers dummy files , reinstallation links. downgraded 6.2 , problem went away.