On 24 December 2014 at 05:43, Avi <[email protected]> wrote: > Hello All, > > I have problems setting up production environment. > > Every time I try to run in production mode, it gives me error: > Unexpected error while processing request: Missing `secret_key_base` for > 'production' environment, set this value in `config/secrets.yml` > > In Local also if I do 'rails s -e production', it gives me the same error. > I tried to setup secret_base from the link - > https://gist.github.com/pablosalgadom/4d75f30517edc6230a67. > > But its still not working. > Can any one help me on this?
Post the file config/secrets.yml here. Check carefully the filename and that it is in the config folder. Colin -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLt4-1BiKFgu0Dhfq_N7adF7oTbBQRFJ0QERgm79%2BQ26PA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

