Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # (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:
Add Comment
Please, Sign In to add comment