Нужно адаптировать плагин
github.com/ageis/redmine_... для redmine 4.
Сейчас при установки пишет:
[root@redmine plugins]# rake db:migrate_plugins
(in /www/redmine)
rake aborted!
NoMethodError: undefined method `to_prepare' for ActionDispatch::Callbacks:Class
Did you mean? to_param
/www/redmine/plugins/redmine_cc_addresses/init.rb:17:in `<top (required)>'
/usr/local/rvm/gems/ruby-2.5.3/gems/activesupport-5.2.2/lib/activ e_support/dependencies.rb:291:in `require'
/usr/local/rvm/gems/ruby-2.5.3/gems/activesupport-5.2.2/lib/activ e_support/dependencies.rb:291:in `block in require'
/usr/local/rvm/gems/ruby-2.5.3/gems/activesupport-5.2.2/lib/activ e_support/dependencies.rb:257:in `load_dependency'
/usr/local/rvm/gems/ruby-2.5.3/gems/activesupport-5.2.2/lib/activ e_support/dependencies.rb:291:in `require'
/www/redmine/lib/redmine/plugin.rb:173:in `block in load'
/www/redmine/lib/redmine/plugin.rb:164:in `each'
/www/redmine/lib/redmine/plugin.rb:164:in `load'
/www/redmine/config/initializers/30-redmine.rb:21:in `<top (required)>'
/usr/local/rvm/gems/ruby-2.5.3/gems/activesupport-5.2.2/lib/activ e_support/dependencies.rb:285:in `load'
/usr/local/rvm/gems/ruby-2.5.3/gems/activesupport-5.2.2/lib/activ e_support/dependencies.rb:285:in `block in load'
/usr/local/rvm/gems/ruby-2.5.3/gems/activesupport-5.2.2/lib/activ e_support/dependencies.rb:257:in `load_dependency'
/usr/local/rvm/gems/ruby-2.5.3/gems/activesupport-5.2.2/lib/activ e_support/dependencies.rb:285:in `load'
/usr/local/rvm/gems/ruby-2.5.3/gems/railties-5.2.2/lib/rails/engi ne.rb:657:in `block in load_config_initializer'
/usr/local/rvm/gems/ruby-2.5.3/gems/activesupport-5.2.2/lib/activ e_support/notifications.rb:170:in `instrument'
/usr/local/rvm/gems/ruby-2.5.3/gems/railties-5.2.2/lib/rails/engi ne.rb:656:in `load_config_initializer'
/usr/local/rvm/gems/ruby-2.5.3/gems/railties-5.2.2/lib/rails/engi ne.rb:614:in `block (2 levels) in <class:Engine>'
/usr/local/rvm/gems/ruby-2.5.3/gems/railties-5.2.2/lib/rails/engi ne.rb:613:in `each'
/usr/local/rvm/gems/ruby-2.5.3/gems/railties-5.2.2/lib/rails/engi ne.rb:613:in `block in <class:Engine>'
/usr/local/rvm/gems/ruby-2.5.3/gems/railties-5.2.2/lib/rails/init ializable.rb:32:in `instance_exec'
/usr/local/rvm/gems/ruby-2.5.3/gems/railties-5.2.2/lib/rails/init ializable.rb:32:in `run'
/usr/local/rvm/gems/ruby-2.5.3/gems/railties-5.2.2/lib/rails/init ializable.rb:61:in `block in run_initializers'
/usr/local/rvm/gems/ruby-2.5.3/gems/railties-5.2.2/lib/rails/init ializable.rb:50:in `each'
/usr/local/rvm/gems/ruby-2.5.3/gems/railties-5.2.2/lib/rails/init ializable.rb:50:in `tsort_each_child'
/usr/local/rvm/gems/ruby-2.5.3/gems/railties-5.2.2/lib/rails/init ializable.rb:60:in `run_initializers'
/usr/local/rvm/gems/ruby-2.5.3/gems/railties-5.2.2/lib/rails/appl ication.rb:361:in `initialize!'
/www/redmine/config/environment.rb:14:in `<top (required)>'
/usr/local/rvm/gems/ruby-2.5.3/gems/activesupport-5.2.2/lib/activ e_support/dependencies.rb:291:in `require'
/usr/local/rvm/gems/ruby-2.5.3/gems/activesupport-5.2.2/lib/activ e_support/dependencies.rb:291:in `block in require'
/usr/local/rvm/gems/ruby-2.5.3/gems/activesupport-5.2.2/lib/activ e_support/dependencies.rb:257:in `load_dependency'
/usr/local/rvm/gems/ruby-2.5.3/gems/activesupport-5.2.2/lib/activ e_support/dependencies.rb:291:in `require'
/usr/local/rvm/gems/ruby-2.5.3/gems/railties-5.2.2/lib/rails/appl ication.rb:337:in `require_environment!'
/usr/local/rvm/gems/ruby-2.5.3/gems/railties-5.2.2/lib/rails/appl ication.rb:520:in `block in run_tasks_blocks'
/usr/local/rvm/gems/ruby-2.5.3/gems/rake-12.3.2/exe/rake:27:in `<top (required)>'
/usr/local/rvm/gems/ruby-2.5.3/bin/ruby_executable_hooks:24:in `eval'
/usr/local/rvm/gems/ruby-2.5.3/bin/ruby_executable_hooks:24:in `<main>'
Tasks: TOP => db:migrate_plugins => redmine:plugins:migrate => environment
(See full trace by running task with --trace)