I am getting the following error while trying to install you plugin:
root@redmine:# rake redmine:plugins:migrate NAME=redmine_knowledgebase
(in /home/redmine/redmine)
config.eager_load is set to nil. Please update your config/environments/*.rb files accordingly:
development - set it to false
test - set it to false (unless you use a tool that preloads your test environment)
production - set it to true
rake aborted!
NoMethodError: undefined method observers=' for ActiveRecord::Base:Class /usr/local/rvm/gems/ruby-2.1.1/gems/activerecord-4.1.0/lib/active_record/dynamic_matchers.rb:26:inmethod_missing'
/usr/local/rvm/gems/ruby-2.1.1/gems/activerecord-4.1.0/lib/active_record/railtie.rb:110:in block (3 levels) in <class:Railtie>' /usr/local/rvm/gems/ruby-2.1.1/gems/activerecord-4.1.0/lib/active_record/railtie.rb:109:ineach'
/usr/local/rvm/gems/ruby-2.1.1/gems/activerecord-4.1.0/lib/active_record/railtie.rb:109:in block (2 levels) in <class:Railtie>' /usr/local/rvm/gems/ruby-2.1.1/gems/activesupport-4.1.0/lib/active_support/lazy_load_hooks.rb:38:ininstance_eval'
/usr/local/rvm/gems/ruby-2.1.1/gems/activesupport-4.1.0/lib/active_support/lazy_load_hooks.rb:38:in execute_hook' /usr/local/rvm/gems/ruby-2.1.1/gems/activesupport-4.1.0/lib/active_support/lazy_load_hooks.rb:28:inblock in on_load'
/usr/local/rvm/gems/ruby-2.1.1/gems/activesupport-4.1.0/lib/active_support/lazy_load_hooks.rb:27:in each' /usr/local/rvm/gems/ruby-2.1.1/gems/activesupport-4.1.0/lib/active_support/lazy_load_hooks.rb:27:inon_load'
/usr/local/rvm/gems/ruby-2.1.1/gems/activerecord-4.1.0/lib/active_record/railtie.rb:108:in block in <class:Railtie>' /usr/local/rvm/gems/ruby-2.1.1/gems/railties-4.1.0/lib/rails/initializable.rb:30:ininstance_exec'
/usr/local/rvm/gems/ruby-2.1.1/gems/railties-4.1.0/lib/rails/initializable.rb:30:in run' /usr/local/rvm/gems/ruby-2.1.1/gems/railties-4.1.0/lib/rails/initializable.rb:55:inblock in run_initializers'
/usr/local/rvm/gems/ruby-2.1.1/gems/railties-4.1.0/lib/rails/initializable.rb:54:in run_initializers' /usr/local/rvm/gems/ruby-2.1.1/gems/railties-4.1.0/lib/rails/application.rb:288:ininitialize!'
/usr/local/rvm/gems/ruby-2.1.1/gems/railties-4.1.0/lib/rails/railtie.rb:194:in public_send' /usr/local/rvm/gems/ruby-2.1.1/gems/railties-4.1.0/lib/rails/railtie.rb:194:inmethod_missing'
/home/redmine/redmine/config/environment.rb:14:in <top (required)>' /usr/local/rvm/gems/ruby-2.1.1/gems/activesupport-4.1.0/lib/active_support/dependencies.rb:247:inrequire'
/usr/local/rvm/gems/ruby-2.1.1/gems/activesupport-4.1.0/lib/active_support/dependencies.rb:247:in block in require' /usr/local/rvm/gems/ruby-2.1.1/gems/activesupport-4.1.0/lib/active_support/dependencies.rb:232:inload_dependency'
/usr/local/rvm/gems/ruby-2.1.1/gems/activesupport-4.1.0/lib/active_support/dependencies.rb:247:in require' /usr/local/rvm/gems/ruby-2.1.1/gems/railties-4.1.0/lib/rails/application.rb:264:inrequire_environment!'
/usr/local/rvm/gems/ruby-2.1.1/gems/railties-4.1.0/lib/rails/application.rb:367:in block in run_tasks_blocks' /usr/local/rvm/gems/ruby-2.1.1/bin/ruby_executable_hooks:15:ineval'
/usr/local/rvm/gems/ruby-2.1.1/bin/ruby_executable_hooks:15:in `'
Tasks: TOP => redmine:plugins:migrate => environment
(See full trace by running task with --trace)
I am getting the following error while trying to install you plugin:
root@redmine:# rake redmine:plugins:migrate NAME=redmine_knowledgebase
(in /home/redmine/redmine)
config.eager_load is set to nil. Please update your config/environments/*.rb files accordingly:
rake aborted! NoMethodError: undefined method'
Tasks: TOP => redmine:plugins:migrate => environment
(See full trace by running task with --trace)
observers=' for ActiveRecord::Base:Class /usr/local/rvm/gems/ruby-2.1.1/gems/activerecord-4.1.0/lib/active_record/dynamic_matchers.rb:26:in
method_missing' /usr/local/rvm/gems/ruby-2.1.1/gems/activerecord-4.1.0/lib/active_record/railtie.rb:110:inblock (3 levels) in <class:Railtie>' /usr/local/rvm/gems/ruby-2.1.1/gems/activerecord-4.1.0/lib/active_record/railtie.rb:109:in
each' /usr/local/rvm/gems/ruby-2.1.1/gems/activerecord-4.1.0/lib/active_record/railtie.rb:109:inblock (2 levels) in <class:Railtie>' /usr/local/rvm/gems/ruby-2.1.1/gems/activesupport-4.1.0/lib/active_support/lazy_load_hooks.rb:38:in
instance_eval' /usr/local/rvm/gems/ruby-2.1.1/gems/activesupport-4.1.0/lib/active_support/lazy_load_hooks.rb:38:inexecute_hook' /usr/local/rvm/gems/ruby-2.1.1/gems/activesupport-4.1.0/lib/active_support/lazy_load_hooks.rb:28:in
block in on_load' /usr/local/rvm/gems/ruby-2.1.1/gems/activesupport-4.1.0/lib/active_support/lazy_load_hooks.rb:27:ineach' /usr/local/rvm/gems/ruby-2.1.1/gems/activesupport-4.1.0/lib/active_support/lazy_load_hooks.rb:27:in
on_load' /usr/local/rvm/gems/ruby-2.1.1/gems/activerecord-4.1.0/lib/active_record/railtie.rb:108:inblock in <class:Railtie>' /usr/local/rvm/gems/ruby-2.1.1/gems/railties-4.1.0/lib/rails/initializable.rb:30:in
instance_exec' /usr/local/rvm/gems/ruby-2.1.1/gems/railties-4.1.0/lib/rails/initializable.rb:30:inrun' /usr/local/rvm/gems/ruby-2.1.1/gems/railties-4.1.0/lib/rails/initializable.rb:55:in
block in run_initializers' /usr/local/rvm/gems/ruby-2.1.1/gems/railties-4.1.0/lib/rails/initializable.rb:54:inrun_initializers' /usr/local/rvm/gems/ruby-2.1.1/gems/railties-4.1.0/lib/rails/application.rb:288:in
initialize!' /usr/local/rvm/gems/ruby-2.1.1/gems/railties-4.1.0/lib/rails/railtie.rb:194:inpublic_send' /usr/local/rvm/gems/ruby-2.1.1/gems/railties-4.1.0/lib/rails/railtie.rb:194:in
method_missing' /home/redmine/redmine/config/environment.rb:14:in<top (required)>' /usr/local/rvm/gems/ruby-2.1.1/gems/activesupport-4.1.0/lib/active_support/dependencies.rb:247:in
require' /usr/local/rvm/gems/ruby-2.1.1/gems/activesupport-4.1.0/lib/active_support/dependencies.rb:247:inblock in require' /usr/local/rvm/gems/ruby-2.1.1/gems/activesupport-4.1.0/lib/active_support/dependencies.rb:232:in
load_dependency' /usr/local/rvm/gems/ruby-2.1.1/gems/activesupport-4.1.0/lib/active_support/dependencies.rb:247:inrequire' /usr/local/rvm/gems/ruby-2.1.1/gems/railties-4.1.0/lib/rails/application.rb:264:in
require_environment!' /usr/local/rvm/gems/ruby-2.1.1/gems/railties-4.1.0/lib/rails/application.rb:367:inblock in run_tasks_blocks' /usr/local/rvm/gems/ruby-2.1.1/bin/ruby_executable_hooks:15:in
eval' /usr/local/rvm/gems/ruby-2.1.1/bin/ruby_executable_hooks:15:in `