So I was trying to deploying my application to heroku, It built correctly but when I tried to access it. It responds with: We're sorry, but something went wrong. If you are the application owner check the logs for more information.
So I checked the Logs and the logs were empty...
So I tried replicating the same command that heroku uses to run my application:
rails s -p 41616 -b lvh.me -e production
and so it boots on my computer, you can check how the server load here
but I still got the same error, here the error code that I receive is:
Failed to load resource: the server responded with a status of 500 (Internal Server Error)
Now earlier version of this software was deployable to heroku and worked great. The major change in this push was I added subdomains to my heroku application. Don't know if that caused it
Any idea what might be the reason?
[Solved] problem solved by LMo answear in this post
steps :
heroku run rake db:migrate
And add the following gem to your gem file
gem 'rails_12factor'
Thanks for help