Hello All,
I have problems setting up production environment.
Every time I try to run in production mode, it gives me error:
Unexpected error while processing request: Missing secret_key_base
for ‘production’ environment, set this value in config/secrets.yml
In Local also if I do ‘rails s -e production’, it gives me the same error.
I tried to setup secret_base from the link - app error: Missing `secret_key_base` for 'production' environment, set this value in `config/secrets.yml` (RuntimeError) · GitHub.
But its still not working.
Can any one help me on this?
Thanks,
Avi