redmine issue checklist installation
Added by John Transparant over 5 years ago
Hello - I'm having trouble installing a ruby plugin called issue checklist. I've tried various versions of ruby (2.3, 2.4, 2.5) and I'm on RHEL 7.4 using redmine 4.0.4.
bundle exec rake redmine:plugins NAME=redmine_checklists RAILS_ENV=production
And got this output (this is in a test environment):
/home/redmine-4.0.4/plugins/redmine_issue_checklist-master/init.rb:24: warning: key :issue_checklist is duplicated and overwritten on line 24 rake aborted! NoMethodError: undefined method `alias_method_chain' for Issue (call 'Issue.connection' to establish a connection):Class Did you mean? alias_method /home/.gem/ruby/gems/activerecord-5.2.3/lib/active_record/dynamic_matchers.rb:22:in `method_missing' /home/redmine-4.0.4/plugins/redmine_issue_checklist-master/lib/redmine_issue_checklist/patches/issue_patch.rb:11:in `block in included' /home/redmine-4.0.4/plugins/redmine_issue_checklist-master/lib/redmine_issue_checklist/patches/issue_patch.rb:10:in `class_eval' /home/redmine-4.0.4/plugins/redmine_issue_checklist-master/lib/redmine_issue_checklist/patches/issue_patch.rb:10:in `included' /home/redmine-4.0.4/plugins/redmine_issue_checklist-master/lib/redmine_issue_checklist/patches/issue_patch.rb:58:in `include' /home/redmine-4.0.4/plugins/redmine_issue_checklist-master/lib/redmine_issue_checklist/patches/issue_patch.rb:58:in `<top (required)>' /home/.gem/ruby/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:291:in `require' /home/.gem/ruby/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:291:in `block in require' /home/.gem/ruby/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:257:in `load_dependency' /home/.gem/ruby/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:291:in `require' /home/redmine-4.0.4/plugins/redmine_issue_checklist-master/lib/redmine_issue_checklist/redmine_issue_checklist.rb:5:in `block in <top (required)>' /home/.gem/ruby/gems/activesupport-5.2.3/lib/active_support/callbacks.rb:426:in `instance_exec' /home/.gem/ruby/gems/activesupport-5.2.3/lib/active_support/callbacks.rb:426:in `block in make_lambda' /home/.gem/ruby/gems/activesupport-5.2.3/lib/active_support/callbacks.rb:198:in `block (2 levels) in halting' /home/.gem/ruby/gems/activesupport-5.2.3/lib/active_support/callbacks.rb:606:in `block (2 levels) in default_terminator' /home/.gem/ruby/gems/activesupport-5.2.3/lib/active_support/callbacks.rb:605:in `catch' /home/.gem/ruby/gems/activesupport-5.2.3/lib/active_support/callbacks.rb:605:in `block in default_terminator' /home/.gem/ruby/gems/activesupport-5.2.3/lib/active_support/callbacks.rb:199:in `block in halting' /home/.gem/ruby/gems/activesupport-5.2.3/lib/active_support/callbacks.rb:513:in `block in invoke_before' /home/.gem/ruby/gems/activesupport-5.2.3/lib/active_support/callbacks.rb:513:in `each' /home/.gem/ruby/gems/activesupport-5.2.3/lib/active_support/callbacks.rb:513:in `invoke_before' /home/.gem/ruby/gems/activesupport-5.2.3/lib/active_support/callbacks.rb:131:in `run_callbacks' /home/.gem/ruby/gems/activesupport-5.2.3/lib/active_support/reloader.rb:89:in `prepare!' /home/.gem/ruby/gems/railties-5.2.3/lib/rails/application/finisher.rb:63:in `block in <module:Finisher>' /home/.gem/ruby/gems/railties-5.2.3/lib/rails/initializable.rb:32:in `instance_exec' /home/.gem/ruby/gems/railties-5.2.3/lib/rails/initializable.rb:32:in `run' /home/.gem/ruby/gems/railties-5.2.3/lib/rails/initializable.rb:61:in `block in run_initializers' /home/.gem/ruby/gems/railties-5.2.3/lib/rails/initializable.rb:60:in `run_initializers' /home/.gem/ruby/gems/railties-5.2.3/lib/rails/application.rb:361:in `initialize!' /home/redmine-4.0.4/config/environment.rb:14:in `<top (required)>' /home/.gem/ruby/gems/railties-5.2.3/lib/rails/application.rb:337:in `require' /home/.gem/ruby/gems/railties-5.2.3/lib/rails/application.rb:337:in `require_environment!' /home/.gem/ruby/gems/railties-5.2.3/lib/rails/application.rb:520:in `block in run_tasks_blocks' /home/redmine-4.0.4/lib/tasks/redmine.rake:57:in `block (2 levels) in <top (required)>' /home/.gem/ruby/gems/rake-12.3.2/exe/rake:27:in `<top (required)>' /home/.gem/ruby/gems/bundler-2.0.2/lib/bundler/cli/exec.rb:74:in `load' /home/.gem/ruby/gems/bundler-2.0.2/lib/bundler/cli/exec.rb:74:in `kernel_load' /home/.gem/ruby/gems/bundler-2.0.2/lib/bundler/cli/exec.rb:28:in `run' /home/.gem/ruby/gems/bundler-2.0.2/lib/bundler/cli.rb:465:in `exec' /home/.gem/ruby/gems/bundler-2.0.2/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /home/.gem/ruby/gems/bundler-2.0.2/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' /home/.gem/ruby/gems/bundler-2.0.2/lib/bundler/vendor/thor/lib/thor.rb:387:in `dispatch' /home/.gem/ruby/gems/bundler-2.0.2/lib/bundler/cli.rb:27:in `dispatch' /home/.gem/ruby/gems/bundler-2.0.2/lib/bundler/vendor/thor/lib/thor/base.rb:466:in `start' /home/.gem/ruby/gems/bundler-2.0.2/lib/bundler/cli.rb:18:in `start' /home/.gem/ruby/gems/bundler-2.0.2/exe/bundle:30:in `block in <top (required)>' /home/.gem/ruby/gems/bundler-2.0.2/lib/bundler/friendly_errors.rb:124:in `with_friendly_errors' /home/.gem/ruby/gems/bundler-2.0.2/exe/bundle:22:in `<top (required)>' /home/bin/bundle:22:in `load' /home/bin/bundle:22:in `<main>'
Does anyone know what might be going on?
Edit: I've also removed the '-master' from the plugin directory name and got the same result.
Replies (2)
RE: redmine issue checklist installation - Added by Go MAEDA over 5 years ago
It seems that the plugin does not support Redmine 4.0. The "alias_method_chain" method is no longer available in Ruby on Rails 5.2 which is used in Redmine 4.0.
I recommend you to ask the author if they have an updated version of the plugin that supports Redmine 4.0.
RE: redmine issue checklist installation - Added by John Transparant over 5 years ago
Ah thank you. The website that I got the plugin from said it DID support 4.0 so I thought I was doing something wrong.