Skip to content

Instantly share code, notes, and snippets.

@drale2k
Last active February 26, 2017 00:31
Show Gist options
  • Save drale2k/e33356df65b715157f9b to your computer and use it in GitHub Desktop.
Save drale2k/e33356df65b715157f9b to your computer and use it in GitHub Desktop.
Nokogiri update with homebrew paths
# Nokogiri
gem install nokogiri -- --with-xml2-include=/usr/local/Cellar/libxml2/2.9.2/include/libxml2 --with-xml2-lib=/usr/local/Cellar/libxml2/2.9.2/lib --with-iconv-lib=/usr/local/Cellar/libiconv/1.14/lib --with-iconv-include=/usr/local/Cellar/libiconv/1.14/include --use-system-libraries
# PG
gem install pg -- --with-pg-config=/Applications/Postgres.app/Contents/Versions/9.6/bin/pg_config
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment