After three nights on this issue and reading all the posts about it, I must finally ask this question!
I want to deploy the simplest Rails application for Heroku:
rails new test_appli cd test_appli git init git add . git commit -m "initial commit" heroku create git push heroku master
Everything is fine, the application works well on Heroku. After that I will create the SQLite3 database:
rails generate scaffold User name:string email:string rake db:migrate
Everything is OK on the local computer. I can clearly see localhost:3000/users . Then I want to put the database on Heroka. First I modify my gemfile:
group :production do gem 'pg' end group :development, :test do gem 'sqlite3' end
Then I send it all to Geroku:
git init git add . git commit -m "with Database" git push heroku master heroku rake db:migrate
Then there are no errors in the package, everything is in order, the database is sent, but an error appears on the heroku.com/users page
Rails 500, "Sorry, but something went wrong"
I donβt know what to do anymore. Can you help me?
source share