Defect #1016
cannot install on debian jessie deb installed redmine
Status:
New
Priority:
High
Category:
-
Target version:
-
Source:
Customer
Detected on version:
Blocked:
No
Alone:
Milestones:
Sprint:
Description
rake redmine:plugins:migrate RAILS_ENV=production --trace
- Invoke redmine:plugins:migrate (first_time)
- Invoke environment (first_time)
- Execute environment
rake aborted!
ArgumentError: Unknown validator: 'DateValidator'
/var/lib/gems/2.1.0/gems/activemodel-4.1.10/lib/active_model/validations/validates.rb:118:in `rescue in block in validates'
/var/lib/gems/2.1.0/gems/activemodel-4.1.10/lib/active_model/validations/validates.rb:115:in `block in validates'
/var/lib/gems/2.1.0/gems/activemodel-4.1.10/lib/active_model/validations/validates.rb:111:in `each'
/var/lib/gems/2.1.0/gems/activemodel-4.1.10/lib/active_model/validations/validates.rb:111:in `validates'
/usr/share/redmine/app/models/issue.rb:74:in `<class:Issue>'
/usr/share/redmine/app/models/issue.rb:18:in `<top (required)>'
/var/lib/gems/2.1.0/gems/activesupport-4.1.10/lib/active_support/dependencies.rb:247:in `require'
/var/lib/gems/2.1.0/gems/activesupport-4.1.10/lib/active_support/dependencies.rb:247:in `block in require'
/var/lib/gems/2.1.0/gems/activesupport-4.1.10/lib/active_support/dependencies.rb:232:in `load_dependency'
/var/lib/gems/2.1.0/gems/activesupport-4.1.10/lib/active_support/dependencies.rb:247:in `require'
/var/lib/gems/2.1.0/gems/activesupport-4.1.10/lib/active_support/dependencies.rb:348:in `require_or_load'
/var/lib/gems/2.1.0/gems/activesupport-4.1.10/lib/active_support/dependencies.rb:480:in `load_missing_constant'
/var/lib/gems/2.1.0/gems/activesupport-4.1.10/lib/active_support/dependencies.rb:180:in `const_missing'
/usr/share/redmine/lib/plugins/scrum/init.rb:15:in `block in <top (required)>'
/usr/share/redmine/config/initializers/00-core_plugins.rb:12:in `eval'
/usr/share/redmine/config/initializers/00-core_plugins.rb:12:in `block in <top (required)>'
/usr/share/redmine/config/initializers/00-core_plugins.rb:2:in `each'
/usr/share/redmine/config/initializers/00-core_plugins.rb:2:in `<top (required)>'
/var/lib/gems/2.1.0/gems/activesupport-4.1.10/lib/active_support/dependencies.rb:241:in `load'
/var/lib/gems/2.1.0/gems/activesupport-4.1.10/lib/active_support/dependencies.rb:241:in `block in load'
/var/lib/gems/2.1.0/gems/activesupport-4.1.10/lib/active_support/dependencies.rb:232:in `load_dependency'
/var/lib/gems/2.1.0/gems/activesupport-4.1.10/lib/active_support/dependencies.rb:241:in `load'
/var/lib/gems/2.1.0/gems/railties-4.1.10/lib/rails/engine.rb:648:in `block in load_config_initializer'
/var/lib/gems/2.1.0/gems/activesupport-4.1.10/lib/active_support/notifications.rb:161:in `instrument'
/var/lib/gems/2.1.0/gems/railties-4.1.10/lib/rails/engine.rb:647:in `load_config_initializer'
/var/lib/gems/2.1.0/gems/railties-4.1.10/lib/rails/engine.rb:612:in `block (2 levels) in <class:Engine>'
/var/lib/gems/2.1.0/gems/railties-4.1.10/lib/rails/engine.rb:611:in `each'
/var/lib/gems/2.1.0/gems/railties-4.1.10/lib/rails/engine.rb:611:in `block in <class:Engine>'
/var/lib/gems/2.1.0/gems/railties-4.1.10/lib/rails/initializable.rb:30:in `instance_exec'
/var/lib/gems/2.1.0/gems/railties-4.1.10/lib/rails/initializable.rb:30:in `run'
/var/lib/gems/2.1.0/gems/railties-4.1.10/lib/rails/initializable.rb:55:in `block in run_initializers'
/usr/lib/ruby/2.1.0/tsort.rb:226:in `block in tsort_each'
/usr/lib/ruby/2.1.0/tsort.rb:348:in `block (2 levels) in each_strongly_connected_component'
/usr/lib/ruby/2.1.0/tsort.rb:418:in `block (2 levels) in each_strongly_connected_component_from'
/usr/lib/ruby/2.1.0/tsort.rb:427:in `each_strongly_connected_component_from'
/usr/lib/ruby/2.1.0/tsort.rb:417:in `block in each_strongly_connected_component_from'
/var/lib/gems/2.1.0/gems/railties-4.1.10/lib/rails/initializable.rb:44:in `each'
/var/lib/gems/2.1.0/gems/railties-4.1.10/lib/rails/initializable.rb:44:in `tsort_each_child'
/usr/lib/ruby/2.1.0/tsort.rb:411:in `call'
/usr/lib/ruby/2.1.0/tsort.rb:411:in `each_strongly_connected_component_from'
/usr/lib/ruby/2.1.0/tsort.rb:347:in `block in each_strongly_connected_component'
/usr/lib/ruby/2.1.0/tsort.rb:345:in `each'
/usr/lib/ruby/2.1.0/tsort.rb:345:in `call'
/usr/lib/ruby/2.1.0/tsort.rb:345:in `each_strongly_connected_component'
/usr/lib/ruby/2.1.0/tsort.rb:224:in `tsort_each'
/usr/lib/ruby/2.1.0/tsort.rb:205:in `tsort_each'
/var/lib/gems/2.1.0/gems/railties-4.1.10/lib/rails/initializable.rb:54:in `run_initializers'
/var/lib/gems/2.1.0/gems/railties-4.1.10/lib/rails/application.rb:300:in `initialize!'
/usr/share/redmine/config/environment.rb:15:in `<top (required)>'
/var/lib/gems/2.1.0/gems/activesupport-4.1.10/lib/active_support/dependencies.rb:247:in `require'
/var/lib/gems/2.1.0/gems/activesupport-4.1.10/lib/active_support/dependencies.rb:247:in `block in require'
/var/lib/gems/2.1.0/gems/activesupport-4.1.10/lib/active_support/dependencies.rb:232:in `load_dependency'
/var/lib/gems/2.1.0/gems/activesupport-4.1.10/lib/active_support/dependencies.rb:247:in `require'
/var/lib/gems/2.1.0/gems/railties-4.1.10/lib/rails/application.rb:276:in `require_environment!'
/var/lib/gems/2.1.0/gems/railties-4.1.10/lib/rails/application.rb:405:in `block in run_tasks_blocks'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/task.rb:240:in `call'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/task.rb:240:in `block in execute'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/task.rb:235:in `each'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/task.rb:235:in `execute'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/task.rb:179:in `block in invoke_with_call_chain'
/usr/lib/ruby/2.1.0/monitor.rb:211:in `mon_synchronize'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/task.rb:172:in `invoke_with_call_chain'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/task.rb:201:in `block in invoke_prerequisites'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/task.rb:199:in `each'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/task.rb:199:in `invoke_prerequisites'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/task.rb:178:in `block in invoke_with_call_chain'
/usr/lib/ruby/2.1.0/monitor.rb:211:in `mon_synchronize'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/task.rb:172:in `invoke_with_call_chain'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/task.rb:165:in `invoke'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/application.rb:150:in `invoke_task'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/application.rb:106:in `block (2 levels) in top_level'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/application.rb:106:in `each'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/application.rb:106:in `block in top_level'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/application.rb:115:in `run_with_threads'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/application.rb:100:in `top_level'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/application.rb:78:in `block in run'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/application.rb:176:in `standard_exception_handling'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/application.rb:75:in `run'
/var/lib/gems/2.1.0/gems/rake-10.4.2/bin/rake:33:in `<top (required)>'
/usr/local/bin/rake:23:in `load'
/usr/local/bin/rake:23:in `<main>'
NameError: uninitialized constant Issue::DateValidator
/var/lib/gems/2.1.0/gems/activemodel-4.1.10/lib/active_model/validations/validates.rb:116:in `const_get'
/var/lib/gems/2.1.0/gems/activemodel-4.1.10/lib/active_model/validations/validates.rb:116:in `block in validates'
/var/lib/gems/2.1.0/gems/activemodel-4.1.10/lib/active_model/validations/validates.rb:111:in `each'
/var/lib/gems/2.1.0/gems/activemodel-4.1.10/lib/active_model/validations/validates.rb:111:in `validates'
/usr/share/redmine/app/models/issue.rb:74:in `<class:Issue>'
/usr/share/redmine/app/models/issue.rb:18:in `<top (required)>'
/usr/share/redmine/lib/plugins/scrum/init.rb:15:in `block in <top (required)>'
/usr/share/redmine/config/initializers/00-core_plugins.rb:12:in `eval'
/usr/share/redmine/config/initializers/00-core_plugins.rb:12:in `block in <top (required)>'
/usr/share/redmine/config/initializers/00-core_plugins.rb:2:in `each'
/usr/share/redmine/config/initializers/00-core_plugins.rb:2:in `<top (required)>'
/var/lib/gems/2.1.0/gems/railties-4.1.10/lib/rails/engine.rb:648:in `block in load_config_initializer'
/var/lib/gems/2.1.0/gems/activesupport-4.1.10/lib/active_support/notifications.rb:161:in `instrument'
/var/lib/gems/2.1.0/gems/railties-4.1.10/lib/rails/engine.rb:647:in `load_config_initializer'
/var/lib/gems/2.1.0/gems/railties-4.1.10/lib/rails/engine.rb:612:in `block (2 levels) in <class:Engine>'
/var/lib/gems/2.1.0/gems/railties-4.1.10/lib/rails/engine.rb:611:in `each'
/var/lib/gems/2.1.0/gems/railties-4.1.10/lib/rails/engine.rb:611:in `block in <class:Engine>'
/var/lib/gems/2.1.0/gems/railties-4.1.10/lib/rails/initializable.rb:30:in `instance_exec'
/var/lib/gems/2.1.0/gems/railties-4.1.10/lib/rails/initializable.rb:30:in `run'
/var/lib/gems/2.1.0/gems/railties-4.1.10/lib/rails/initializable.rb:55:in `block in run_initializers'
/usr/lib/ruby/2.1.0/tsort.rb:226:in `block in tsort_each'
/usr/lib/ruby/2.1.0/tsort.rb:348:in `block (2 levels) in each_strongly_connected_component'
/usr/lib/ruby/2.1.0/tsort.rb:418:in `block (2 levels) in each_strongly_connected_component_from'
/usr/lib/ruby/2.1.0/tsort.rb:427:in `each_strongly_connected_component_from'
/usr/lib/ruby/2.1.0/tsort.rb:417:in `block in each_strongly_connected_component_from'
/var/lib/gems/2.1.0/gems/railties-4.1.10/lib/rails/initializable.rb:44:in `each'
/var/lib/gems/2.1.0/gems/railties-4.1.10/lib/rails/initializable.rb:44:in `tsort_each_child'
/usr/lib/ruby/2.1.0/tsort.rb:411:in `call'
/usr/lib/ruby/2.1.0/tsort.rb:411:in `each_strongly_connected_component_from'
/usr/lib/ruby/2.1.0/tsort.rb:347:in `block in each_strongly_connected_component'
/usr/lib/ruby/2.1.0/tsort.rb:345:in `each'
/usr/lib/ruby/2.1.0/tsort.rb:345:in `call'
/usr/lib/ruby/2.1.0/tsort.rb:345:in `each_strongly_connected_component'
/usr/lib/ruby/2.1.0/tsort.rb:224:in `tsort_each'
/usr/lib/ruby/2.1.0/tsort.rb:205:in `tsort_each'
/var/lib/gems/2.1.0/gems/railties-4.1.10/lib/rails/initializable.rb:54:in `run_initializers'
/var/lib/gems/2.1.0/gems/railties-4.1.10/lib/rails/application.rb:300:in `initialize!'
/usr/share/redmine/config/environment.rb:15:in `<top (required)>'
/var/lib/gems/2.1.0/gems/railties-4.1.10/lib/rails/application.rb:276:in `require_environment!'
/var/lib/gems/2.1.0/gems/railties-4.1.10/lib/rails/application.rb:405:in `block in run_tasks_blocks'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/task.rb:240:in `call'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/task.rb:240:in `block in execute'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/task.rb:235:in `each'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/task.rb:235:in `execute'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/task.rb:179:in `block in invoke_with_call_chain'
/usr/lib/ruby/2.1.0/monitor.rb:211:in `mon_synchronize'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/task.rb:172:in `invoke_with_call_chain'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/task.rb:201:in `block in invoke_prerequisites'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/task.rb:199:in `each'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/task.rb:199:in `invoke_prerequisites'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/task.rb:178:in `block in invoke_with_call_chain'
/usr/lib/ruby/2.1.0/monitor.rb:211:in `mon_synchronize'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/task.rb:172:in `invoke_with_call_chain'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/task.rb:165:in `invoke'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/application.rb:150:in `invoke_task'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/application.rb:106:in `block (2 levels) in top_level'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/application.rb:106:in `each'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/application.rb:106:in `block in top_level'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/application.rb:115:in `run_with_threads'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/application.rb:100:in `top_level'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/application.rb:78:in `block in run'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/application.rb:176:in `standard_exception_handling'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/application.rb:75:in `run'
/var/lib/gems/2.1.0/gems/rake-10.4.2/bin/rake:33:in `<top (required)>'
/usr/local/bin/rake:23:in `load'
/usr/local/bin/rake:23:in `<main>'
Tasks: TOP => redmine:plugins:migrate => environment
after adding
gem "activemodel-validators"
to Gemfile
have different error:
rake redmine:plugins:migrate RAILS_ENV=production --trace- Invoke redmine:plugins:migrate (first_time)
- Invoke environment (first_time)
- Execute environment
rake aborted!
ArgumentError: Unknown key: :order. Valid keys are: :class_name, :class, :foreign_key, :validate, :autosave, :table_name, :before_add, :after_add, :before_remove, :after_remove, :extend, :primary_key, :dependent, :as, :through, :source, :source_type, :inverse_of, :counter_cache, :join_table
/var/lib/gems/2.1.0/gems/activesupport-4.1.10/lib/active_support/core_ext/hash/keys.rb:71:in `block in assert_valid_keys'
/var/lib/gems/2.1.0/gems/activesupport-4.1.10/lib/active_support/core_ext/hash/keys.rb:69:in `each_key'
/var/lib/gems/2.1.0/gems/activesupport-4.1.10/lib/active_support/core_ext/hash/keys.rb:69:in `assert_valid_keys'
/var/lib/gems/2.1.0/gems/activerecord-4.1.10/lib/active_record/associations/builder/association.rb:81:in `validate_options'
/var/lib/gems/2.1.0/gems/activerecord-4.1.10/lib/active_record/associations/builder/association.rb:61:in `initialize'
/var/lib/gems/2.1.0/gems/activerecord-4.1.10/lib/active_record/associations/builder/collection_association.rb:18:in `initialize'
/var/lib/gems/2.1.0/gems/activerecord-4.1.10/lib/active_record/associations/builder/association.rb:46:in `new'
/var/lib/gems/2.1.0/gems/activerecord-4.1.10/lib/active_record/associations/builder/association.rb:46:in `create_builder'
/var/lib/gems/2.1.0/gems/activerecord-4.1.10/lib/active_record/associations/builder/association.rb:35:in `build'
/var/lib/gems/2.1.0/gems/activerecord-4.1.10/lib/active_record/associations.rb:1215:in `has_many'
/usr/share/redmine/lib/plugins/scrum/lib/scrum/issue_patch.rb:9:in `block in included'
/usr/share/redmine/lib/plugins/scrum/lib/scrum/issue_patch.rb:6:in `class_eval'
/usr/share/redmine/lib/plugins/scrum/lib/scrum/issue_patch.rb:6:in `included'
/usr/share/redmine/lib/plugins/scrum/init.rb:15:in `include'
/usr/share/redmine/lib/plugins/scrum/init.rb:15:in `block in <top (required)>'
/usr/share/redmine/config/initializers/00-core_plugins.rb:12:in `eval'
/usr/share/redmine/config/initializers/00-core_plugins.rb:12:in `block in <top (required)>'
/usr/share/redmine/config/initializers/00-core_plugins.rb:2:in `each'
/usr/share/redmine/config/initializers/00-core_plugins.rb:2:in `<top (required)>'
/var/lib/gems/2.1.0/gems/activesupport-4.1.10/lib/active_support/dependencies.rb:241:in `load'
/var/lib/gems/2.1.0/gems/activesupport-4.1.10/lib/active_support/dependencies.rb:241:in `block in load'
/var/lib/gems/2.1.0/gems/activesupport-4.1.10/lib/active_support/dependencies.rb:232:in `load_dependency'
/var/lib/gems/2.1.0/gems/activesupport-4.1.10/lib/active_support/dependencies.rb:241:in `load'
/var/lib/gems/2.1.0/gems/railties-4.1.10/lib/rails/engine.rb:648:in `block in load_config_initializer'
/var/lib/gems/2.1.0/gems/activesupport-4.1.10/lib/active_support/notifications.rb:161:in `instrument'
/var/lib/gems/2.1.0/gems/railties-4.1.10/lib/rails/engine.rb:647:in `load_config_initializer'
/var/lib/gems/2.1.0/gems/railties-4.1.10/lib/rails/engine.rb:612:in `block (2 levels) in <class:Engine>'
/var/lib/gems/2.1.0/gems/railties-4.1.10/lib/rails/engine.rb:611:in `each'
/var/lib/gems/2.1.0/gems/railties-4.1.10/lib/rails/engine.rb:611:in `block in <class:Engine>'
/var/lib/gems/2.1.0/gems/railties-4.1.10/lib/rails/initializable.rb:30:in `instance_exec'
/var/lib/gems/2.1.0/gems/railties-4.1.10/lib/rails/initializable.rb:30:in `run'
/var/lib/gems/2.1.0/gems/railties-4.1.10/lib/rails/initializable.rb:55:in `block in run_initializers'
/usr/lib/ruby/2.1.0/tsort.rb:226:in `block in tsort_each'
/usr/lib/ruby/2.1.0/tsort.rb:348:in `block (2 levels) in each_strongly_connected_component'
/usr/lib/ruby/2.1.0/tsort.rb:418:in `block (2 levels) in each_strongly_connected_component_from'
/usr/lib/ruby/2.1.0/tsort.rb:427:in `each_strongly_connected_component_from'
/usr/lib/ruby/2.1.0/tsort.rb:417:in `block in each_strongly_connected_component_from'
/var/lib/gems/2.1.0/gems/railties-4.1.10/lib/rails/initializable.rb:44:in `each'
/var/lib/gems/2.1.0/gems/railties-4.1.10/lib/rails/initializable.rb:44:in `tsort_each_child'
/usr/lib/ruby/2.1.0/tsort.rb:411:in `call'
/usr/lib/ruby/2.1.0/tsort.rb:411:in `each_strongly_connected_component_from'
/usr/lib/ruby/2.1.0/tsort.rb:347:in `block in each_strongly_connected_component'
/usr/lib/ruby/2.1.0/tsort.rb:345:in `each'
/usr/lib/ruby/2.1.0/tsort.rb:345:in `call'
/usr/lib/ruby/2.1.0/tsort.rb:345:in `each_strongly_connected_component'
/usr/lib/ruby/2.1.0/tsort.rb:224:in `tsort_each'
/usr/lib/ruby/2.1.0/tsort.rb:205:in `tsort_each'
/var/lib/gems/2.1.0/gems/railties-4.1.10/lib/rails/initializable.rb:54:in `run_initializers'
/var/lib/gems/2.1.0/gems/railties-4.1.10/lib/rails/application.rb:300:in `initialize!'
/usr/share/redmine/config/environment.rb:15:in `<top (required)>'
/var/lib/gems/2.1.0/gems/activesupport-4.1.10/lib/active_support/dependencies.rb:247:in `require'
/var/lib/gems/2.1.0/gems/activesupport-4.1.10/lib/active_support/dependencies.rb:247:in `block in require'
/var/lib/gems/2.1.0/gems/activesupport-4.1.10/lib/active_support/dependencies.rb:232:in `load_dependency'
/var/lib/gems/2.1.0/gems/activesupport-4.1.10/lib/active_support/dependencies.rb:247:in `require'
/var/lib/gems/2.1.0/gems/railties-4.1.10/lib/rails/application.rb:276:in `require_environment!'
/var/lib/gems/2.1.0/gems/railties-4.1.10/lib/rails/application.rb:405:in `block in run_tasks_blocks'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/task.rb:240:in `call'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/task.rb:240:in `block in execute'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/task.rb:235:in `each'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/task.rb:235:in `execute'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/task.rb:179:in `block in invoke_with_call_chain'
/usr/lib/ruby/2.1.0/monitor.rb:211:in `mon_synchronize'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/task.rb:172:in `invoke_with_call_chain'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/task.rb:201:in `block in invoke_prerequisites'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/task.rb:199:in `each'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/task.rb:199:in `invoke_prerequisites'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/task.rb:178:in `block in invoke_with_call_chain'
/usr/lib/ruby/2.1.0/monitor.rb:211:in `mon_synchronize'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/task.rb:172:in `invoke_with_call_chain'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/task.rb:165:in `invoke'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/application.rb:150:in `invoke_task'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/application.rb:106:in `block (2 levels) in top_level'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/application.rb:106:in `each'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/application.rb:106:in `block in top_level'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/application.rb:115:in `run_with_threads'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/application.rb:100:in `top_level'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/application.rb:78:in `block in run'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/application.rb:176:in `standard_exception_handling'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/application.rb:75:in `run'
/var/lib/gems/2.1.0/gems/rake-10.4.2/bin/rake:33:in `<top (required)>'
/usr/local/bin/rake:23:in `load'
/usr/local/bin/rake:23:in `<main>'
Tasks: TOP => redmine:plugins:migrate => environment
which is referenced to
http://stackoverflow.com/questions/24621827/unknown-key-in-rails-association
https://teamtreehouse.com/forum/unknown-key-conditions
https://redmine.ociotec.com/issues/919