Created
June 10, 2019 13:56
-
-
Save nplusp/5f55595ef9bb309bafb603a41bda0094 to your computer and use it in GitHub Desktop.
Install PG gem without locally installed Postgres
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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