I'm trying to push a new app to Heroku, it has devise preinstalled locally. Once i try to hit the git push heroku master, every time it tells me 'Devise.secret_key was not set. Please add the following to your Devise initializer:' Now they key .. comes different everytime, so setting it in initializers/devise.rb had no effect what so ever. I've tried setting it in heroku under the vars, but the same, the key keeps changing
I'm using Rails 5.0 with devise 4.2.
Any idea idea on how to run it without it changing every single time ? or how to set it ?
*I've browsed stackoverflow for the past 2 hours and saw no solution to my question.
Thank you.