Skip to content

Instantly share code, notes, and snippets.

@nplusp
Created June 10, 2019 13:56
Show Gist options
  • Save nplusp/5f55595ef9bb309bafb603a41bda0094 to your computer and use it in GitHub Desktop.
Save nplusp/5f55595ef9bb309bafb603a41bda0094 to your computer and use it in GitHub Desktop.
Install PG gem without locally installed Postgres
brew install libpq
gem install pg -- --with-opt-dir="/usr/local/opt/libpq"
bundle config --local build.pg --with-opt-dir="/usr/local/opt/libpq"
bundle install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment