uninitialized constant Redmine::I18n Error
Added by sfsg sfsg over 1 year ago
Hi,
after upgrading ruby we are getting errors from I18n:
uninitialized constant Redmine::I18n (NameError) /opt/redmine/config/initializers/10-patches.rb:7:in `<class:Base>' /opt/redmine/config/initializers/10-patches.rb:6:in `<module:ActiveRecord>' /opt/redmine/config/initializers/10-patches.rb:5:in `<main>' /usr/share/rvm/gems/ruby-2.7.2/gems/railties-5.2.6/lib/rails/engine.rb:663:in `block in load_config_initializer' /usr/share/rvm/gems/ruby-2.7.2/gems/activesupport-5.2.6/lib/active_support/notifications.rb:170:in `instrument' /usr/share/rvm/gems/ruby-2.7.2/gems/railties-5.2.6/lib/rails/engine.rb:662:in `load_config_initializer' /usr/share/rvm/gems/ruby-2.7.2/gems/railties-5.2.6/lib/rails/engine.rb:620:in `block (2 levels) in <class:Engine>' /usr/share/rvm/gems/ruby-2.7.2/gems/railties-5.2.6/lib/rails/engine.rb:619:in `each' /usr/share/rvm/gems/ruby-2.7.2/gems/railties-5.2.6/lib/rails/engine.rb:619:in `block in <class:Engine>' /usr/share/rvm/gems/ruby-2.7.2/gems/railties-5.2.6/lib/rails/initializable.rb:32:in `instance_exec' /usr/share/rvm/gems/ruby-2.7.2/gems/railties-5.2.6/lib/rails/initializable.rb:32:in `run' /usr/share/rvm/gems/ruby-2.7.2/gems/railties-5.2.6/lib/rails/initializable.rb:61:in `block in run_initializers' /usr/local/rvm/rubies/ruby-2.7.2/lib/ruby/2.7.0/tsort.rb:228:in `block in tsort_each' /usr/local/rvm/rubies/ruby-2.7.2/lib/ruby/2.7.0/tsort.rb:350:in `block (2 levels) in each_strongly_connected_component' /usr/local/rvm/rubies/ruby-2.7.2/lib/ruby/2.7.0/tsort.rb:422:in `block (2 levels) in each_strongly_connected_component_from' /usr/local/rvm/rubies/ruby-2.7.2/lib/ruby/2.7.0/tsort.rb:431:in `each_strongly_connected_component_from' /usr/local/rvm/rubies/ruby-2.7.2/lib/ruby/2.7.0/tsort.rb:421:in `block in each_strongly_connected_component_from' /usr/share/rvm/gems/ruby-2.7.2/gems/railties-5.2.6/lib/rails/initializable.rb:50:in `each' /usr/share/rvm/gems/ruby-2.7.2/gems/railties-5.2.6/lib/rails/initializable.rb:50:in `tsort_each_child' /usr/local/rvm/rubies/ruby-2.7.2/lib/ruby/2.7.0/tsort.rb:415:in `call' /usr/local/rvm/rubies/ruby-2.7.2/lib/ruby/2.7.0/tsort.rb:415:in `each_strongly_connected_component_from' /usr/local/rvm/rubies/ruby-2.7.2/lib/ruby/2.7.0/tsort.rb:349:in `block in each_strongly_connected_component' /usr/local/rvm/rubies/ruby-2.7.2/lib/ruby/2.7.0/tsort.rb:347:in `each' /usr/local/rvm/rubies/ruby-2.7.2/lib/ruby/2.7.0/tsort.rb:347:in `call' /usr/local/rvm/rubies/ruby-2.7.2/lib/ruby/2.7.0/tsort.rb:347:in `each_strongly_connected_component' /usr/local/rvm/rubies/ruby-2.7.2/lib/ruby/2.7.0/tsort.rb:226:in `tsort_each' /usr/local/rvm/rubies/ruby-2.7.2/lib/ruby/2.7.0/tsort.rb:205:in `tsort_each' /usr/share/rvm/gems/ruby-2.7.2/gems/railties-5.2.6/lib/rails/initializable.rb:60:in `run_initializers' /usr/share/rvm/gems/ruby-2.7.2/gems/railties-5.2.6/lib/rails/application.rb:361:in `initialize!' /opt/redmine/config/environment.rb:5:in `<top (required)>' config.ru:3:in `require' config.ru:3:in `block in <main>' /usr/share/rvm/gems/ruby-2.7.2/gems/rack-2.2.7/lib/rack/builder.rb:125:in `instance_eval' /usr/share/rvm/gems/ruby-2.7.2/gems/rack-2.2.7/lib/rack/builder.rb:125:in `initialize' config.ru:1:in `new' config.ru:1:in `<main>' /usr/share/passenger/helper-scripts/rack-preloader.rb:110:in `eval' /usr/share/passenger/helper-scripts/rack-preloader.rb:110:in `preload_app' /usr/share/passenger/helper-scripts/rack-preloader.rb:156:in `<module:App>' /usr/share/passenger/helper-scripts/rack-preloader.rb:30:in `<module:PhusionPassenger>' /usr/share/passenger/helper-scripts/rack-preloader.rb:29:in `<main>'
redmine does not start.
Hope someone could help out.
Thanks,
André