Skip to content

Instantly share code, notes, and snippets.

@gentilfp
Created December 7, 2014 19:57
Show Gist options
  • Save gentilfp/9660efb22466e14de815 to your computer and use it in GitHub Desktop.
Save gentilfp/9660efb22466e14de815 to your computer and use it in GitHub Desktop.
Error Nokogiri MacOS
brew update
Note: In OSX 10.9+ you may need to install xCode command tools to allow you to install libiconv.
xcode-select --install
then install a newer version of libiconv
brew install libiconv
then link your new iconv libs:
brew link libiconv
then install your gem
gem install nokogiri -- --with-iconv-dir=/usr/local/Cellar/libiconv/1.14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment