0

So this issue is pretty straight forward:

** Exception RuntimeError in Rack application object (Missing `secret_key_base` for 'production' environment, set this value in `config/secrets.yml`) (process 31929, thread 0x95116e4(Worker 1))

So I did that, I went and added the secrets.yml file to the appname/current/config/ directory and added:

production:
    secret_key_base: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

And then I restarted the server.

Still I get this 500 error and still the error.log sais that I am missing this file. Am I missing some basic step here?

Note: This is running with passenger and apache2

3
  • should it be indented so much? secret_key_base Commented Jul 7, 2014 at 19:02
  • its indented by two, but when I was doing it here I indented it by four .... I dont think indentation matters in the grand scheme of things Commented Jul 7, 2014 at 19:04
  • 1
    Check this. Looks to be similar stackoverflow.com/questions/23180650/… Commented Jul 7, 2014 at 19:18

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.