fixed database.yml env variable configuration