Vote #68508
完了Redmine not working with i18n gem 0.4.2
0%
journals
--------------------------------------------------------------------------------
If you revert the workaround for i18n 0.4.1 in r4183, everything works fine again with 0.4.2.
--------------------------------------------------------------------------------
The "fixing" commit is probably "this one":http://github.com/svenfuchs/i18n/commit/20bf4fd51e6d2efb7a9082358881f626a283c763. Sadly, I found no immediate solution for supporting both versions. Maybe we need to build a custom switch or patch for 0.4.1...
--------------------------------------------------------------------------------
Maybe just place 'if gem version < xxx' code so both 'fixing' commit and a normal code will work according to i18n gem version? Unfortunately, i'm not very good at ruby world and don't know how it's supposed to fight dll hell here :).
--------------------------------------------------------------------------------
This https://github.com/thegcat/redmine/commit/00ef3004120035095c9cd11aba65ebd648160fe6 should make i18n 0.4.{1,2} happy with the patch.
--------------------------------------------------------------------------------
I can confirm that the patch by Felix works with i18n 0.4.(1|2), 0.3.7 and no i18n gem at all.
@Eric, could you please commit this one soon? We get many requests by people falling over i18n 0.4.2 currently.
@Felix, thanks for providing the solution.
--------------------------------------------------------------------------------
I had the same problem this morning and Felix's patch worked beautifully. This should probably be pushed sooner rather than later to avoid a landslide of issue reports ...
--------------------------------------------------------------------------------
Fixed in r4389 using a slightly different patch to avoid another failure next time they change the method signature.
--------------------------------------------------------------------------------
Merged in stable branch.
--------------------------------------------------------------------------------
related_issues
duplicates,Closed,6810,Problem to access Users page
duplicates,Closed,6789,HTTP/500 when accessing home page OR