Created
November 23, 2009 18:46
-
-
Save thomasritz/241268 to your computer and use it in GitHub Desktop.
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 did not work with PostgreSQL binary from enterprisedb.) | |
# | |
# - Install PostgreSQL with homebrew (requires XCode): | |
# cd $HOME/d/other | |
# git clone git://github.com/mxcl/homebrew.git | |
# cd homebrew | |
# brew install postgresql | |
# - Add $HOME/d/other/homebrew/bin to $PATH | |
# - Follow the further instructions: | |
# initdb $HOME/d/other/homebrew/var/postgres | |
# launchctl load -w $HOME/d/other/homebrew/Cellar/postgresql/8.4.0/org.postgresql.postgres.plist | |
# - Install the Gem: | |
# env ARCHFLAGS="-arch x86_64" gem install postgres | |
# - Install Rails DBs: | |
# createdb XXX_development | |
# createdb XXX_test | |
development: | |
adapter: postgresql | |
encoding: unicode | |
database: xyz_development | |
pool: 5 | |
username: <%= %x(whoami) %> | |
password: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment