We implement Puma for web service with Redmine 4.1. Installing the plugin fails because of ActiveSupport::Concern::MultipleIncludedBlocks error. Does anyone have a good idea how to deal with?
redmine | Restarting...
redmine | Puma starting in single mode...
redmine | Version 4.3.5 (ruby 2.6.6-p146), codename: Mysterious Traveller
redmine | Min threads: 8, max threads: 8
redmine | Environment: production
redmine | W, [2020-06-23T06:30:50.355566 #15] WARN -- : Creating scope :sorted. Overwriting existing method Group.sorted.
redmine | W, [2020-06-23T06:30:50.395894 #15] WARN -- : Creating scope :sorted. Overwriting existing method User.sorted.
redmine | W, [2020-06-23T06:30:50.682857 #15] WARN -- : Creating scope :system. Overwriting existing method Enumeration.system.
redmine | ! Unable to load application: ActiveSupport::Concern::MultipleIncludedBlocks: Cannot define multiple 'included' blocks for a Concern
redmine | /usr/local/bundle/gems/activesupport-5.2.4.2/lib/active_support/concern.rb:130:in included': Cannot define multiple 'included' blocks for a Concern (ActiveSupport::Concern::MultipleIncludedBlocks) redmine | from /usr/src/redmine/plugins/redmine_persist_wfmt/lib/patches/controller/application_controller_patch.rb:8:in'
redmine | from /usr/src/redmine/plugins/redmine_persist_wfmt/lib/patches/controller/application_controller_patch.rb:5:in <module:Pwfmt>' redmine | from /usr/src/redmine/plugins/redmine_persist_wfmt/lib/patches/controller/application_controller_patch.rb:1:in<top (required)>'
redmine | from /usr/local/bundle/gems/activesupport-5.2.4.2/lib/active_support/dependencies.rb:291:in require' redmine | from /usr/local/bundle/gems/activesupport-5.2.4.2/lib/active_support/dependencies.rb:291:inblock in require'
redmine | from /usr/local/bundle/gems/activesupport-5.2.4.2/lib/active_support/dependencies.rb:257:in load_dependency' redmine | from /usr/local/bundle/gems/activesupport-5.2.4.2/lib/active_support/dependencies.rb:291:inrequire'
redmine | from /usr/local/bundle/gems/activesupport-5.2.4.2/lib/active_support/dependencies.rb:378:in block in require_or_load' redmine | from /usr/local/bundle/gems/activesupport-5.2.4.2/lib/active_support/dependencies.rb:37:inblock in load_interlock'
redmine | from /usr/local/bundle/gems/activesupport-5.2.4.2/lib/active_support/dependencies/interlock.rb:14:in block in loading' redmine | from /usr/local/bundle/gems/activesupport-5.2.4.2/lib/active_support/concurrency/share_lock.rb:151:inexclusive'
redmine | from /usr/local/bundle/gems/activesupport-5.2.4.2/lib/active_support/dependencies/interlock.rb:13:in loading' redmine | from /usr/local/bundle/gems/activesupport-5.2.4.2/lib/active_support/dependencies.rb:37:inload_interlock'
redmine | from /usr/local/bundle/gems/activesupport-5.2.4.2/lib/active_support/dependencies.rb:356:in require_or_load' redmine | from /usr/local/bundle/gems/activesupport-5.2.4.2/lib/active_support/dependencies.rb:334:independ_on'
redmine | from /usr/local/bundle/gems/activesupport-5.2.4.2/lib/active_support/dependencies.rb:246:in require_dependency' redmine | from /usr/local/bundle/gems/railties-5.2.4.2/lib/rails/engine.rb:478:inblock (2 levels) in eager_load!'
redmine | from /usr/local/bundle/gems/railties-5.2.4.2/lib/rails/engine.rb:477:in each' redmine | from /usr/local/bundle/gems/railties-5.2.4.2/lib/rails/engine.rb:477:inblock in eager_load!'
redmine | from /usr/local/bundle/gems/railties-5.2.4.2/lib/rails/engine.rb:475:in each' redmine | from /usr/local/bundle/gems/railties-5.2.4.2/lib/rails/engine.rb:475:ineager_load!'
redmine | from /usr/local/bundle/gems/railties-5.2.4.2/lib/rails/engine.rb:356:in eager_load!' redmine | from /usr/local/bundle/gems/railties-5.2.4.2/lib/rails/application/finisher.rb:69:ineach'
redmine | from /usr/local/bundle/gems/railties-5.2.4.2/lib/rails/application/finisher.rb:69:in block in <module:Finisher>' redmine | from /usr/local/bundle/gems/railties-5.2.4.2/lib/rails/initializable.rb:32:ininstance_exec'
redmine | from /usr/local/bundle/gems/railties-5.2.4.2/lib/rails/initializable.rb:32:in run' redmine | from /usr/local/bundle/gems/railties-5.2.4.2/lib/rails/initializable.rb:61:inblock in run_initializers'
redmine | from /usr/local/lib/ruby/2.6.0/tsort.rb:228:in block in tsort_each' redmine | from /usr/local/lib/ruby/2.6.0/tsort.rb:350:inblock (2 levels) in each_strongly_connected_component'
redmine | from /usr/local/lib/ruby/2.6.0/tsort.rb:431:in each_strongly_connected_component_from' redmine | from /usr/local/lib/ruby/2.6.0/tsort.rb:349:inblock in each_strongly_connected_component'
redmine | from /usr/local/lib/ruby/2.6.0/tsort.rb:347:in each' redmine | from /usr/local/lib/ruby/2.6.0/tsort.rb:347:incall'
redmine | from /usr/local/lib/ruby/2.6.0/tsort.rb:347:in each_strongly_connected_component' redmine | from /usr/local/lib/ruby/2.6.0/tsort.rb:226:intsort_each'
redmine | from /usr/local/lib/ruby/2.6.0/tsort.rb:205:in tsort_each' redmine | from /usr/local/bundle/gems/railties-5.2.4.2/lib/rails/initializable.rb:60:inrun_initializers'
redmine | from /usr/local/bundle/gems/railties-5.2.4.2/lib/rails/application.rb:361:in initialize!' redmine | from /usr/src/redmine/config/environment.rb:16:in<top (required)>'
redmine | from /usr/local/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in require' redmine | from /usr/local/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:inrequire'
redmine | from config.ru:1:in block in <main>' redmine | from /usr/local/bundle/gems/rack-2.2.3/lib/rack/builder.rb:116:ineval'
redmine | from /usr/local/bundle/gems/rack-2.2.3/lib/rack/builder.rb:116:in new_from_string' redmine | from /usr/local/bundle/gems/rack-2.2.3/lib/rack/builder.rb:105:inload_file'
redmine | from /usr/local/bundle/gems/rack-2.2.3/lib/rack/builder.rb:66:in parse_file' redmine | from /usr/local/bundle/gems/puma-4.3.5/lib/puma/configuration.rb:321:inload_rackup'
redmine | from /usr/local/bundle/gems/puma-4.3.5/lib/puma/configuration.rb:246:in app' redmine | from /usr/local/bundle/gems/puma-4.3.5/lib/puma/runner.rb:155:inload_and_bind'
redmine | from /usr/local/bundle/gems/puma-4.3.5/lib/puma/single.rb:98:in run' redmine | from /usr/local/bundle/gems/puma-4.3.5/lib/puma/launcher.rb:172:inrun'
redmine | from /usr/local/bundle/gems/puma-4.3.5/lib/puma/cli.rb:80:in run' redmine | from /usr/local/bundle/gems/puma-4.3.5/bin/puma:10:in<top (required)>'
redmine | from /usr/local/bundle/bin/puma:23:in load' redmine | from /usr/local/bundle/bin/puma:23:in'
redmine | 2020/06/23 06:30:53.625535 [ERR] (cli) child process died with exit code 1
We implement Puma for web service with Redmine 4.1. Installing the plugin fails because of
ActiveSupport::Concern::MultipleIncludedBlocks
error. Does anyone have a good idea how to deal with?