Rails 4.1.4 Production environment, Ubuntu Apache/Passenger
I’m getting the error
App 2280 stderr: [ 2014-08-04 18:45:00.6935 2301/0x9a59598(Worker 1) utils.rb:72 ]: *** Exception RuntimeError in Rack application object (Missing secret_key_base for 'production' environment, set this value in config/secrets.yml) (process 2301, thread 0x9a59598(Worker 1)):
But I’m sure I’d run
export SECRET_KEY_BASE=xxx and
ruby -e 'p ENV["SECRET_KEY_BASE"]'. Have went through a page of Google search results. Not sure what else I’m missing.
Setup is as per title.
Side question. Is there anyway we can find back questions we’d asked? I found a solution to my pass problem but I have no idea how to get the question back.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×