small medium large xlarge

Generic-user-small
29 Oct 2014, 00:07
Ben Thorner (1 post)

Hello. I’m just finishing iteration K1 and have got a 500 error in my browser. The databse setup completed, and I restarted apache, but when I look in the error log I get:

Exception RuntimeError in Rack application object (Missing secret_key_base for ‘production’ environment, set this value in config/secrets.yml) (process 24688, thread 0x00000000e318b8(Worker 1))

I’ve tried exporting an ENV value (see config/secrets.yml) using ‘rake secret’, but it still doesn’t work. Is there a step I missed earlier in the iteration?

Many thanks to those who reply!

Generic-user-small
20 Jan 2015, 00:58
Robert Mitchell (2 posts)

The right way is with an environment variable - but I just copied the development entry. Make sure it is all on one line - you get an extremely cryptic error if it is not.

You must be logged in to comment