Last active
August 23, 2017 15:04
-
-
Save ipepe/ed52a313ffbf264e9e9daae800fc4a1f to your computer and use it in GitHub Desktop.
Install pg gem when using Postgress.app on Mac
This file contains hidden or 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
| #!/bin/bash | |
| gem install pg -v '0.19.0' -- --with-pg-config=/Applications/Postgres.app/Contents/Versions/latest/bin/pg_config | |
| # or just add bin of Postgress app into PATH env | |
| export PATH=$PATH:/Applications/Postgres.app/Contents/Versions/latest/bin | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment