I already have a Rails app, successfully working with Postgres.app.
I don't even remember what I did to get the first database created and connected to Rails, but it works and this is what I have in database.yml
development:
adapter: postgresql
database: gnossy_development
pool: 5
timeout: 5000
Now for my second Rails app I've created the app with
rails new my_app --database=postgresql --skip-test-unit
And Rails created this for me in database.yml
default: &default
adapter: postgresql
encoding: unicode
pool: 5
development:
<<: *default
database: my_app_development
What would I need to do, to get my second app connected with a PG db?
rake db:create:all
results in "FATAL: role "my_app" does not exist"