Created
February 1, 2015 01:26
-
-
Save Luminus/bcb2fb4c032dd33d3de8 to your computer and use it in GitHub Desktop.
I had to run this to enable the pg gem in my app work. This way I can use postgre on my development computer and also push to heroku. The --with-pg-config bit tells the gem how to find my postgre install confiurations.
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
gem install pg -- --with-pg-config=/opt/local/lib/postgresql94/bin/pg_config |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I've ditched MacPorts for Homebrew and for some reason I could only get pg to install by doing this
env ARCHFLAGS='-arch x86_64' gem install pg