aris
1
Hello,
I’m trying to install a specific gem but getting this error message
below.
ERROR: Error installing nokogiri:
/Library/Ruby/Gems/1.8/gems/nokogiri-1.5.5/ext/nokogiri/gem_make.out
I’ve seen that some folks have resolved this issue by reinstalling the
new
version of x-code. Which I did - but no avail.
Any tips?
Thanks.
Hm… Interesting. I went and installed the extra extension into xcode.
but now getting a different output.
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native
In new versions of XCode you need to specifically install the command
line
tools for this to work.
Check here for a screenshot of how to:
http://www.zlu.me/blog/2012/02/21/install-native-ruby-gem-in-mountain-lion-preview/