Dimitar Kostov ramblings

Easy setup for Postgres.app and Rails

This is how you setup Postgress.app with Rails

~ psql
username=# CREATE DATABASE myapp_development;
username=# \q
.zshrc
1
export PATH="/Applications/Postgres.app/Contents/MacOS/bin:$PATH"</pre>
database.yml
1
2
3
4
5
6
7
8
development:
  adapter: postgresql
  encoding: unicode
  database: myapp_development
  pool: 5
  host: localhost
  username: username
  password:

Comments