开发者

Missing interpolation argument error in Redmine

A bit of Googling led me to believe that this erro开发者_开发问答r happens in Rails Version < 2.3.6 . So i changed my environment file to

RAILS_GEM_VERSION = '2.3.8' unless defined? RAILS_GEM_VERSION

Now, I have 2 questions .

  1. I continue to get the redmine error.
  2. When I do a script/server, I get this : Rails 2.3.5 application starting on http://0.0.0.0:3000

even though I've clearly instructed it to load Rails 2.3.8 ! Any ideas ? Thanks!


At first, Redmine currently supports Rails 2.3.5 only. Any other version (including 2.3.8) will cause issues. So don't use them.

The error you mentioned is caused by the i18n gem >= 0.4. In recent 1.0 releases this issue should be fixed. A workaround was committed to trunk in r4183 which was pulled into 1.0 stable in r4202. So updating to a recent 1.0.x release (current version is 1.0.2) should fix the issue. See the Redmine issue #6428 for more information.

Another possibility would be to just remove the i18n gem completely, as it is not needed by Rails 2.3.5 nor Redmine.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜