I've created a rails app (rails 4.1) from scratch and I am facing a strange problem that I am not able to solve.
Every time I try to deploy my app on Heroku I get an error 500:
Missingfor 'production' environment, set this value in
secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
config/secrets.yml to version control and deploy again. You might need to remove a line from
.gitignore so that you can commit the file.
I had this exact same issue and it just turned out that the boilerplate
.gitignore Github created for my Rails application included