Project

General

Profile

Defect #1128

Error during Scrum plugin installation: rake aborted! wrong number of arguments (1 for 0)

Added by Satya Singh almost 9 years ago. Updated almost 9 years ago.

Status:
Rejected
Priority:
High
Category:
General
Target version:
-
Source:
Customer
Detected on version:
Blocked:
No
Alone:
Milestones:
Sprint:

Description

I am getting following error while trying to install the Scrum plugin:

[root@redmine redmine]# rake redmin:plugins:migrate RAILS_ENV=production
rake aborted!
Don't know how to build task 'redmin:plugins:migrate'
/usr/local/rvm/gems/ruby-1.9.3-p547/bin/ruby_executable_hooks:15:in `eval'
/usr/local/rvm/gems/ruby-1.9.3-p547/bin/ruby_executable_hooks:15:in `<main>'
(See full trace by running task with --trace)
[root@redmine redmine]# rake redmine:plugins:migrate RAILS_ENV=production
rake aborted!
wrong number of arguments (1 for 0)
/var/www/redmine/plugins/scrum/lib/scrum/issue_patch.rb:16:in `block (2 levels) in included'
/usr/local/rvm/gems/ruby-1.9.3-p547/gems/activerecord-3.2.19/lib/active_record/associations/builder/collection_association.rb:35:in `[]'
/usr/local/rvm/gems/ruby-1.9.3-p547/gems/activerecord-3.2.19/lib/active_record/associations/builder/collection_association.rb:35:in `wrap_block_extension'
/usr/local/rvm/gems/ruby-1.9.3-p547/gems/activerecord-3.2.19/lib/active_record/associations/builder/collection_association.rb:22:in `build'
/usr/local/rvm/gems/ruby-1.9.3-p547/gems/activerecord-3.2.19/lib/active_record/autosave_association.rb:139:in `build'
/usr/local/rvm/gems/ruby-1.9.3-p547/gems/activerecord-3.2.19/lib/active_record/associations/builder/has_many.rb:10:in `build'
/usr/local/rvm/gems/ruby-1.9.3-p547/gems/activerecord-3.2.19/lib/active_record/associations/builder/collection_association.rb:13:in `build'
/usr/local/rvm/gems/ruby-1.9.3-p547/gems/activerecord-3.2.19/lib/active_record/associations.rb:1198:in `has_many'
/var/www/redmine/plugins/scrum/lib/scrum/issue_patch.rb:16:in `block in included'
/var/www/redmine/plugins/scrum/lib/scrum/issue_patch.rb:13:in `class_eval'
/var/www/redmine/plugins/scrum/lib/scrum/issue_patch.rb:13:in `included'
/var/www/redmine/plugins/scrum/init.rb:17:in `include'
/var/www/redmine/plugins/scrum/init.rb:17:in `<top (required)>'
/usr/local/rvm/gems/ruby-1.9.3-p547/gems/activesupport-3.2.19/lib/active_support/dependencies.rb:251:in `require'
/usr/local/rvm/gems/ruby-1.9.3-p547/gems/activesupport-3.2.19/lib/active_support/dependencies.rb:251:in `block in require'
/usr/local/rvm/gems/ruby-1.9.3-p547/gems/activesupport-3.2.19/lib/active_support/dependencies.rb:236:in `load_dependency'
/usr/local/rvm/gems/ruby-1.9.3-p547/gems/activesupport-3.2.19/lib/active_support/dependencies.rb:251:in `require'
/var/www/redmine/lib/redmine/plugin.rb:133:in `block in load'
/var/www/redmine/lib/redmine/plugin.rb:124:in `each'
/var/www/redmine/lib/redmine/plugin.rb:124:in `load'
/var/www/redmine/config/initializers/30-redmine.rb:19:in `<top (required)>'
/usr/local/rvm/gems/ruby-1.9.3-p547/gems/activesupport-3.2.19/lib/active_support/dependencies.rb:245:in `load'
/usr/local/rvm/gems/ruby-1.9.3-p547/gems/activesupport-3.2.19/lib/active_support/dependencies.rb:245:in `block in load'
/usr/local/rvm/gems/ruby-1.9.3-p547/gems/activesupport-3.2.19/lib/active_support/dependencies.rb:236:in `load_dependency'
/usr/local/rvm/gems/ruby-1.9.3-p547/gems/activesupport-3.2.19/lib/active_support/dependencies.rb:245:in `load'
/usr/local/rvm/gems/ruby-1.9.3-p547/gems/railties-3.2.19/lib/rails/engine.rb:593:in `block (2 levels) in <class:Engine>'
/usr/local/rvm/gems/ruby-1.9.3-p547/gems/railties-3.2.19/lib/rails/engine.rb:592:in `each'
/usr/local/rvm/gems/ruby-1.9.3-p547/gems/railties-3.2.19/lib/rails/engine.rb:592:in `block in <class:Engine>'
/usr/local/rvm/gems/ruby-1.9.3-p547/gems/railties-3.2.19/lib/rails/initializable.rb:30:in `instance_exec'
/usr/local/rvm/gems/ruby-1.9.3-p547/gems/railties-3.2.19/lib/rails/initializable.rb:30:in `run'
/usr/local/rvm/gems/ruby-1.9.3-p547/gems/railties-3.2.19/lib/rails/initializable.rb:55:in `block in run_initializers'
/usr/local/rvm/gems/ruby-1.9.3-p547/gems/railties-3.2.19/lib/rails/initializable.rb:54:in `each'
/usr/local/rvm/gems/ruby-1.9.3-p547/gems/railties-3.2.19/lib/rails/initializable.rb:54:in `run_initializers'
/usr/local/rvm/gems/ruby-1.9.3-p547/gems/railties-3.2.19/lib/rails/application.rb:136:in `initialize!'
/usr/local/rvm/gems/ruby-1.9.3-p547/gems/railties-3.2.19/lib/rails/railtie/configurable.rb:30:in `method_missing'
/var/www/redmine/config/environment.rb:14:in `<top (required)>'
/usr/local/rvm/gems/ruby-1.9.3-p547/gems/activesupport-3.2.19/lib/active_support/dependencies.rb:251:in `require'
/usr/local/rvm/gems/ruby-1.9.3-p547/gems/activesupport-3.2.19/lib/active_support/dependencies.rb:251:in `block in require'
/usr/local/rvm/gems/ruby-1.9.3-p547/gems/activesupport-3.2.19/lib/active_support/dependencies.rb:236:in `load_dependency'
/usr/local/rvm/gems/ruby-1.9.3-p547/gems/activesupport-3.2.19/lib/active_support/dependencies.rb:251:in `require'
/usr/local/rvm/gems/ruby-1.9.3-p547/gems/railties-3.2.19/lib/rails/application.rb:103:in `require_environment!'
/usr/local/rvm/gems/ruby-1.9.3-p547/gems/railties-3.2.19/lib/rails/application.rb:305:in `block (2 levels) in initialize_tasks'
/usr/local/rvm/gems/ruby-1.9.3-p547/bin/ruby_executable_hooks:15:in `eval'
/usr/local/rvm/gems/ruby-1.9.3-p547/bin/ruby_executable_hooks:15:in `<main>'
Tasks: TOP => redmine:plugins:migrate => environment
(See full trace by running task with --trace)

Please let me know how can i install it correctly?

Also available in: Atom PDF