xml2_dir=`brew info libxml2 | grep $(brew --cellar) | sed 's/ .*//'`
xslt_dir=`brew info libxslt | grep $(brew --cellar) | sed 's/ .*//'`
gem install nokogiri -- --use-system-libraries \
--with-xml2-config=${xml2_dir}/bin/xml2-config \
--with-xslt-config=${xslt_dir}/bin/xslt-config
Last active
August 29, 2015 14:18
-
-
Save spadin/5f023962afc7fc91c026 to your computer and use it in GitHub Desktop.
Install Nokogiri on Mac w/Homebrew
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment