Skip to content

Instantly share code, notes, and snippets.

@jdkram
Created March 5, 2013 00:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jdkram/5087126 to your computer and use it in GitHub Desktop.
Save jdkram/5087126 to your computer and use it in GitHub Desktop.
Error installing Nokogiri on MacOS 10.8.2 - weird problems with UTF-8 conversion
gem install nokogiri -- --with-xml2-include=/usr/local/Cellar/libxml2/2.9.0/include/libxml2 --with-xml2-lib=/usr/local/Cellar/libxml2/2.9.0/lib --with-xslt-dir=/usr/local/Cellar/libxslt/1.1.28 --with-iconv-include=/usr/local/Cellar/libiconv/1.14/include --with-iconv-lib=/usr/local/Cellar/libiconv/1.14/lib
Building native extensions with: '--with-xml2-include=/usr/local/Cellar/libxml2/2.9.0/include/libxml2 --with-xml2-lib=/usr/local/Cellar/libxml2/2.9.0/lib --with-xslt-dir=/usr/local/Cellar/libxslt/1.1.28 --with-iconv-include=/usr/local/Cellar/libiconv/1.14/include --with-iconv-lib=/usr/local/Cellar/libiconv/1.14/lib'
This could take a while...
Successfully installed nokogiri-1.5.6
Parsing documentation for nokogiri-1.5.6
unable to convert "\xCF" from ASCII-8BIT to UTF-8 for lib/nokogiri/nokogiri.bundle, skipping
Installing ri documentation for nokogiri-1.5.6
Done installing documentation for nokogiri (4 sec).
1 gem installed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment