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

gem install nokogiri on Lion #3

Open
jspooner opened this issue Feb 22, 2012 · 0 comments
Open

gem install nokogiri on Lion #3

jspooner opened this issue Feb 22, 2012 · 0 comments

Comments

@jspooner
Copy link

With Lion there is no gcc so nokogiri will not be able to compile.

You'll see this error.

make
compiling html_document.c
make: gcc-4.2: No such file or directory
make: *** [html_document.o] Error 1

Nokogiri install steps

1 brew install libxml2
2 brew install libxslt
3 sudo ln -s /usr/bin/gcc /usr/bin/gcc-4.2

sudo ln -s /usr/bin/gcc /usr/bin/gcc-4.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant