Ruby on Rails config.secret_token error

前端 未结 6 979
-上瘾入骨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 13:47

    This simple command worked for me :

    rvmsudo rake generate_secret_token
    

提交回复
热议问题