We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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
enabled_module_names' for nil:NilClass /opt/redmine-3.0.1/plugins/redmine_issue_reminder/lib/tasks/reminder.rake:9:in
block in select' /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:in
call' /usr/local/share/gems/gems/rake-10.4.2/lib/rake/task.rb:240:in
each' /usr/local/share/gems/gems/rake-10.4.2/lib/rake/task.rb:235:in
block in invoke_ with_call_chain' /usr/share/ruby/monitor.rb:211:in
invoke_with_call _chain' /usr/local/share/gems/gems/rake-10.4.2/lib/rake/task.rb:165:in
invoke_task' /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:in
run_with_threads' /usr/local/share/gems/gems/rake-10.4.2/lib/rake/application.rb:100:in
block in run' /usr/local/share/gems/gems/rake-10.4.2/lib/rake/application.rb:176:in
run' /usr/local/share/gems/gems/rake-10.4.2/bin/rake:33:in
load' /usr/local/bin/rake:23:in
The text was updated successfully, but these errors were encountered:
No branches or pull requests
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:in
select'/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:in
block (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:in
block 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:in
execute'/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:in
mon_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:in
invoke'/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:in
block (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:in
block 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:in
top_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:in
standard_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
The text was updated successfully, but these errors were encountered: