mleglise/dotfiles-public — Issue #3: gem install nokogiri on Lion
Author: jspooner
Created: 2012-02-22 18:29:42+00:00
State: open

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