문제

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 .

  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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top