I\'ve reinstalled Postgres (9.2.4) and I\'m having trouble getting it set back up with Rails 3.2.11. I did:
brew install postgresql initdb /usr/local/var/po
db:create:all and db:migrate did not work for me first. I changed my database name from development.pg to developmentpg in myapp/config/database.yml file:
db:create:all
db:migrate
development.pg
developmentpg
myapp/config/database.yml
database: db/developmentpg
and then rake db:create:all and rake db:migrate, it worked for me.
rake db:create:all
rake db:migrate
Thank you