I defined SECRET_KEY_BASE for Rails 4.1 in the rails ~/.profile file. When I deploy, I see error in the Apache log that it does not find value for secret_key_base. I have secrets.yml that defines secret_key_base= <%= ENV['SECRET_KEY_BASE']. If I go to rails console in production I can see the value for ENV['SECRET_KEY_BASE']. Typing env in the command line also shows the value for the SECRET_KEY_BASE. How do I define the environment variable properly?
--
You received this message because you are subscribed to the Google Groups "Moonshine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to railsmachine-moon...@googlegroups.com.
To post to this group, send email to railsmachin...@googlegroups.com.
Visit this group at http://groups.google.com/group/railsmachine-moonshine.
For more options, visit https://groups.google.com/d/optout.