Skip to content

rake reminder:exec[test] error on redmine 3.0.1 #31

@lanceli47

Description

@lanceli47

When I run the command →rake reminder:exec[test] RAILS_ENV="production"
I got the erro information, please help me, thank you

rake reminder:exec[test] RAILS_ENV="production" --trace
[DEPRECATION] requiring "RMagick" is deprecated. Use "rmagick" instead
** Invoke reminder:exec (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute reminder:exec
rake aborted!
NoMethodError: undefined method enabled_module_names' for nil:NilClass /opt/redmine-3.0.1/plugins/redmine_issue_reminder/lib/tasks/reminder.rake:9:in block (3 levels) in <top (required)>'
/usr/local/share/gems/gems/activerecord-4.2.0/lib/active_record/relation/query_methods.rb:251:in block in select' /usr/local/share/gems/gems/activerecord-4.2.0/lib/active_record/relation/query_methods.rb:251:inselect'
/usr/local/share/gems/gems/activerecord-4.2.0/lib/active_record/relation/query_methods.rb:251:in select' /opt/redmine-3.0.1/plugins/redmine_issue_reminder/lib/tasks/reminder.rake:9:inblock (2 levels) in <top (required)>'
/usr/local/share/gems/gems/rake-10.4.2/lib/rake/task.rb:240:in call' /usr/local/share/gems/gems/rake-10.4.2/lib/rake/task.rb:240:inblock in execute'
/usr/local/share/gems/gems/rake-10.4.2/lib/rake/task.rb:235:in each' /usr/local/share/gems/gems/rake-10.4.2/lib/rake/task.rb:235:inexecute'
/usr/local/share/gems/gems/rake-10.4.2/lib/rake/task.rb:179:in block in invoke_ with_call_chain' /usr/share/ruby/monitor.rb:211:inmon_synchronize'
/usr/local/share/gems/gems/rake-10.4.2/lib/rake/task.rb:172:in invoke_with_call _chain' /usr/local/share/gems/gems/rake-10.4.2/lib/rake/task.rb:165:ininvoke'
/usr/local/share/gems/gems/rake-10.4.2/lib/rake/application.rb:150:in invoke_task' /usr/local/share/gems/gems/rake-10.4.2/lib/rake/application.rb:106:inblock (2 levels) in top_level'
/usr/local/share/gems/gems/rake-10.4.2/lib/rake/application.rb:106:in each' /usr/local/share/gems/gems/rake-10.4.2/lib/rake/application.rb:106:inblock in top_level'
/usr/local/share/gems/gems/rake-10.4.2/lib/rake/application.rb:115:in run_with_threads' /usr/local/share/gems/gems/rake-10.4.2/lib/rake/application.rb:100:intop_level '
/usr/local/share/gems/gems/rake-10.4.2/lib/rake/application.rb:78:in block in run' /usr/local/share/gems/gems/rake-10.4.2/lib/rake/application.rb:176:instandard_exception_handling'
/usr/local/share/gems/gems/rake-10.4.2/lib/rake/application.rb:75:in run' /usr/local/share/gems/gems/rake-10.4.2/bin/rake:33:in<top (required)>'
/usr/local/bin/rake:23:in load' /usr/local/bin/rake:23:in

'
Tasks: TOP => reminder:exec

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions