Missing interpolation argument error in Redmine
-
26-09-2019 - |
Question
A bit of Googling led me to believe that this error 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 .
- I continue to get the redmine error.
- 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!
Solution
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.