Devise Secret Key was not set

前端 未结 16 1238
别那么骄傲
别那么骄傲 2020-11-27 14:53

I am developing a Rails 4 app using the Active Admin gem for the administration back end. Active Admin in turn uses Devise for user authentication. Now, when I try to deploy

16条回答
  •  眼角桃花
    2020-11-27 15:17

    Check if your config\initializers\secret_token.rb has:

    YourAppName::Application.config.secret_token
    

    It should be:

    YourAppName::Application.config.secret_key_base
    

提交回复
热议问题