Skip to content

Instantly share code, notes, and snippets.

@afair
Created December 5, 2014 16:11
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 afair/ac3cf215ed5bc89cd40c to your computer and use it in GitHub Desktop.
Save afair/ac3cf215ed5bc89cd40c to your computer and use it in GitHub Desktop.
Install Nokogiri on FreeBSD
#!/bin/sh
gem install nokogiri -- \
--use-system-libraries \
--with-xml2-lib=/usr/local/lib \
--with-xml2-include=/usr/local/include/libxml2/libxml \
--with-xslt-lib=/usr/local/lib \
--with-xslt-include=/usr/local/include/libxslt \
--with-iconv-lib=/usr/local/lib \
--with-iconv-include=/usr/local/include
@bDrwx
Copy link

bDrwx commented Feb 25, 2015

Thanks. Its work for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment