I have an application written in Sinatra that works locally but that I cannot seem to push up to heroku. When I attempt to push to heroku I get the following error: -----> Writing config/database.yml to read from DATABASE_URL Could not detect rake tasks ensure you can run $ bundle exec rake -P against your app with no environment variables present and using the production group of your Gemfile. Th
![Sinatra with Postgres and ActiveRecord | Error Pushing to Heroku is: Invalid DATABASE_URL](https://cdn-ak-scissors.b.st-hatena.com/image/square/98d6f053a97a87156775f60757c60865d0f2c47d/height=288;version=1;width=512/https%3A%2F%2Fcdn.sstatic.net%2FSites%2Fstackoverflow%2FImg%2Fapple-touch-icon%402.png%3Fv%3D73d79a89bded)