简体   繁体   English

Redmine上缺少配置/环境

[英]config/Environment is missing on redmine

I have upgrade my rails version to 3.0 and I got the following error message 我已经将Rails版本升级到3.0,并且收到以下错误消息

no such file to load -- path_to_application/config/environment

Please help me to solve this problem. 请帮我解决这个问题。

Thanks in advance. 提前致谢。

It looks like Rails 3 support is at best beta: http://www.redmine.org/issues/4796 看起来Rails 3支持处于最佳测试阶段: http : //www.redmine.org/issues/4796

It looks like Rails 3.0 is not supported: 看起来不支持Rails 3.0:

Redmine will never run with 3.0 due to the lack of engine support. 由于缺少引擎支持,Redmine永远不会在3.0中运行。

From the above linked issue, the developers seem to be targeting Rails 3.1 从以上链接的问题来看,开发人员似乎正在针对Rails 3.1

I guess that the Rails 3 you have installed override Redmine's Rails 2.3. 我想您安装的Rails 3会覆盖Redmine的Rails 2.3。

One simple way to fix that is to add Bundler to your Redmine installation, which will put it into an isolated set of gems. 一种简单的修复方法是将Bundler添加到Redmine安装中,这会将其放入一组孤立的宝石中。

See Using Bundler with Rails 2.3 . 请参阅在Rails 2.3中使用Bundler

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM