I am writing a sinatra app, which runs successfully on localhost, but when I try to push it on heroku, and open the root path, the app crashes.
When the app is pushed