Created
October 9, 2014 15:27
-
-
Save ianmariano/5014e0a87d047f50c052 to your computer and use it in GitHub Desktop.
nokogiri cygwin
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Make sure libxml2-devel, libxslt-devel and libiconv-devel are installed: | |
$ gem install nokogiri -- --use-system-libraries --with-xml2-include=/usr/include/libxml2 --with-xml2-lib=/usr/lib --with-xslt-dir=/usr/include/libxslt --with-iconv-include=/usr/include --with-iconv-lib=/usr/lib |
Worked! Thankyou!
this helped, but I got another fix
bundle config build.nokogiri --use-system-libraries --with-xml2-include=/usr/include/libxml2 --with-xml2-lib=/usr/lib --with-xslt-dir=/usr/include/libxslt --with-iconv-include=/usr/include --with-iconv-lib=/usr/lib
then
bundle install
this helped, but I got another fix
bundle config build.nokogiri --use-system-libraries --with-xml2-include=/usr/include/libxml2 --with-xml2-lib=/usr/lib --with-xslt-dir=/usr/include/libxslt --with-iconv-include=/usr/include --with-iconv-lib=/usr/lib
then
bundle install
Thanks a bunch, this one worked for me!
thanks :-)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hmm I've run in the following: