No secret option provided to Rack::Session::Cookie warning?

前端 未结 7 1521
长发绾君心
长发绾君心 2020-11-27 14:52

I am running Rails 3.2.3, Ruby 1.9 under Fedora 17. I get this warning, when I run rails s, and how do I fix?

SECURITY WARNING: No secre

相关标签:
7条回答
  • 2020-11-27 15:52

    Downgrading to rack 1.4.1 should be sufficient to solve this for now. There's an issue open for this and I just submitted a pull request that seems to fix it for me. In any case, watch the issue, and you should be able to upgrade to rack 1.4.2 after this is fixed.

    Apparently, there's ongoing discussion about how to fix this on another issue. You'll have to either downgrade to 1.4.1, ignore it, or figure out your own fix until this is dealt with (and backported, if that even happens).

    0 讨论(0)
提交回复
热议问题