Project

General

Profile

Defect #1032

Cannot install plugin on 2.5.2 with Rails 4

Added by Ben Senior over 9 years ago. Updated over 9 years ago.

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

Description

I get the following error on Jessie, which I believe is caused by using Rails 4 (incompatible syntax).

Redmine Information reports

Environment:
  Redmine version                2.5.2.devel
  Ruby version                   2.1.5-p273 (2014-11-13) [x86_64-linux-gnu]
  Rails version                  4.1.8
  Environment                    production
  Database adapter               Mysql2
SCM:
  Subversion                     1.8.10
  Git                            2.1.4
  Filesystem                     
Redmine plugins:
  redmine_timesheet_plugin       0.7.0

The Error is

rake redmine:plugins:migrate RAILS_ENV=production
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
/usr/share/redmine/plugins/scrum v0.10.0/lib/scrum/issue_patch.rb:9:in `block in included'
/usr/share/redmine/plugins/scrum v0.10.0/lib/scrum/issue_patch.rb:6:in `class_eval'
/usr/share/redmine/plugins/scrum v0.10.0/lib/scrum/issue_patch.rb:6:in `included'
/usr/share/redmine/plugins/scrum v0.10.0/init.rb:16:in `include'
/usr/share/redmine/plugins/scrum v0.10.0/init.rb:16:in `<top (required)>'
/usr/share/redmine/lib/redmine/plugin.rb:139:in `block in load'
/usr/share/redmine/lib/redmine/plugin.rb:130:in `each'
/usr/share/redmine/lib/redmine/plugin.rb:130:in `load'
/usr/share/redmine/config/initializers/30-redmine.rb:21:in `<top (required)>'
/usr/share/redmine/config/environment.rb:14:in `<top (required)>'

Also available in: Atom PDF