Ruby on Rails config.secret_token error

前端 未结 6 978
-上瘾入骨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条回答
  •  闹比i
    闹比i (楼主)
    2021-02-04 13:55

    The easiest way to generate a new secret token is to run

    rake secret
    

    at the command line.

提交回复
热议问题