Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/env bash
set -e
set -x
# see also: https://stackoverflow.com/questions/18479240/troubles-with-nokogiri-gem-on-mountain-lion-using-bundler/21744398#21744398
NOKOGIRI_OPTIONS='--use-system-libraries --with-iconv-dir=/usr/local/opt/libiconv --with-xml2-config=/usr/local/opt/libxml2/bin/xml2-config --with-xslt-config=/usr/local/opt/libxslt/bin/xslt-config'
brew uninstall libxml2 libxslt || true