Last active
December 8, 2015 22:09
-
-
Save alextdavis/7d41d2fcb2f76092ecfd to your computer and use it in GitHub Desktop.
Installing Postgres Gems on my 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
This is a note for myself, but it may work for other people too. | |
sudo gem install do_postgres -- --with-pgsql-server-dir=/Applications/Postgres.app/Contents/MacOS --with-pgsql-server-include=/Applications/Postgres.app/Contents/MacOS/include/server | |
sudo gem install pg -v '0.18.1' -- --with-pg-config=/Applications/Postgres.app/Contents/MacOS/bin/pg_config | |
Version 9.3 (old) | |
sudo gem install do_postgres -v '0.10.15' -- --with-pgsql-server-dir=/Applications/Postgres.app/Contents/Versions/9.3 --with-pgsql-server-include=/Applications/Postgres.app/Contents/Versions/9.3/include/postgresql/server | |
gem install pg -- --with-pg-config=/Applications/Postgres.app/Contents/Versions/9.3/bin/pg_config |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment