请先配置你的config / database.yml [英] please configure your config/database.yml first

查看:312
本文介绍了请先配置你的config / database.yml的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用安装步骤在我的电脑上安装redmine http://www.redmine.org/ projects / redmine / wiki / redmineinstall [ ^ ]在这里找到。



但是在收到错误时请先执行命令rake generate_secret_token配置你的config / database.yml。我在这个问题上需要帮助

I m trying to install redmine on my PC using the installation step http://www.redmine.org/projects/redmine/wiki/redmineinstall[^] found here.

but getting the error please configure your config/database.yml first while executing the command "rake generate_secret_token" . i need help on this issue

推荐答案

不要试图看起来很聪明,但是你打开了config / database.yml并用正确的值填充它你的数据库?这将是我的第一个猜测。如果您保留了默认值,则Rails无法访问数据库。
Not trying to seem smart-alecky, but have you opened config/database.yml and filled it in with the correct values to access your database? That would be my first guess. If you've left the default values, Rails can't access the db.


这篇关于请先配置你的config / database.yml的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆