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

Failed to build gem native extension / libiconv is missing #10

Closed
AnthonyMyatt opened this issue Jan 22, 2015 · 2 comments
Closed

Failed to build gem native extension / libiconv is missing #10

AnthonyMyatt opened this issue Jan 22, 2015 · 2 comments

Comments

@AnthonyMyatt
Copy link

Before being able to install fastlane, I had to manually install nokogiri using the following command:

sudo gem install nokogiri -- --use-system-libraries --with-xml2-include=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/libxml2

--use-system-libraries allows the install to use the OS X version of libiconv.
--with-xml2= tells it where to find libxml2

Other solutions I found online involved installing homebrew, which I didn't want to do.

@KrauseFx
Copy link
Member

Building nokogiri manually is a pain and sometimes quite tricky to do, that's why I recommend using homebrew. Is there a reason you don't want to use it?

@KrauseFx
Copy link
Member

I'll close this issue for now, let me know if you need any help.

KrauseFx pushed a commit that referenced this issue Mar 7, 2016
Update README.MD with instructions to squash the commits before pushing
KrauseFx pushed a commit that referenced this issue Mar 7, 2016
@fastlane fastlane locked and limited conversation to collaborators Sep 22, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants