Created
August 17, 2011 20:26
-
-
Save typeoneerror/1152518 to your computer and use it in GitHub Desktop.
postgres install
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
| # installing the gem after | |
| # brew install postgresql | |
| sudo env ARCHFLAGS="-arch x86_64" gem install --no-ri --no-rdoc pg -- --with-pg-config=/usr/local/Cellar/postgresql/9.0.4/bin/pg_config | |
| # in rails app | |
| export PATH=/usr/local/Cellar/postgresql/9.0.4/bin:$PATH | |
| export ARCHFLAGS="-arch x86_64" | |
| bundle install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment