Ruby on Rails config.secret_token error

前端 未结 6 980
-上瘾入骨i
-上瘾入骨i 2021-02-04 13:33

I just started learning ruby on rails. I followed a lot of install examples, but when i ran the example am getting this error

A secret is required to generate an integri

6条回答
  •  说谎
    说谎 (楼主)
    2021-02-04 14:13

    Make sure you have this in your environment.rb:

    YourApp::Application.initialize!
    

提交回复
热议问题