An unhandled lowlevel error occurred. The application logs may have details

夙愿已清 提交于 2019-12-03 01:46:59

This is because you haven't set your secret key correctly. Double check your config/secrets.yml file: It should be something like this:

production: secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>

Then in your droplet, you can run bundle exec rake secret to get your secret key. There are options like dotenv which is a useful gem that loads the contents of a .env file into ENV.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!