Skip to content

Instantly share code, notes, and snippets.

@spadin spadin/
Last active Aug 29, 2015

What would you like to do?
Install Nokogiri on Mac w/Homebrew
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 \
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.