My app is a Ruby rack app. When my Heroku app starts it breaks because
/app/config.ru:8:in `read’: No such file or directory – config/database.yml (Errno::ENOENT)
Why does this happen? I understood Heroku is meant to create this file https://devcenter.heroku.com/articles/cedar-migration
The database credentials will still be configured automatically: at slug compile time, a config/database.yml that parses the DATABASE_URL from the environment will be written into the app.
Frustratingly the doc at https://devcenter.heroku.com/articles/ruby doesn’t explain about database.yml
It appears Heroku only creates its
config/database.ymlif you have a folderconfigunder source control. Not explained in docs.