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

Arvind
  • 2,671
  • 1
  • 18
  • 32
user3379926
  • 3,855
  • 6
  • 24
  • 42
  • should it be indented so much? `secret_key_base` – Trip Jul 07 '14 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 – user3379926 Jul 07 '14 at 19:04
  • 1
    Check this. Looks to be similar http://stackoverflow.com/questions/23180650/how-to-solve-error-missing-secret-key-base-for-production-environment-on-h – emcanes Jul 07 '14 at 19:18

0 Answers0