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