Loriowar / redmine_issues_tree

Provides a tree view of the Redmine issues list
GNU General Public License v3.0
118 stars 72 forks source link

NoMethodError: undefined method `active_record' for #<Rails::Application::Configuration:0x000056542dcceb88> #114

Open ryderkun opened 4 years ago

ryderkun commented 4 years ago

redmine-3.4.6/plugins/redmine_issues_tree# bundle exec rake redmine:plugins:migrate RAILS_ENV=production --trace (in /data/redmine/redmine-3.4.6) rake aborted! NoMethodError: undefined method active_record' for #<Rails::Application::Configuration:0x000056542dcceb88> /var/lib/gems/2.5.0/gems/railties-6.0.3.3/lib/rails/railtie/configuration.rb:96:inmethod_missing' /data/redmine/redmine-3.4.6/config/application.rb:20:in <class:Application>' /data/redmine/redmine-3.4.6/config/application.rb:8:in' /data/redmine/redmine-3.4.6/config/application.rb:7:in <top (required)>' /data/redmine/redmine-3.4.6/Rakefile:5:inrequire' /data/redmine/redmine-3.4.6/Rakefile:5:in <top (required)>' /usr/lib/ruby/vendor_ruby/rake/rake_module.rb:29:inload' /usr/lib/ruby/vendor_ruby/rake/rake_module.rb:29:in load_rakefile' /usr/lib/ruby/vendor_ruby/rake/application.rb:703:inraw_load_rakefile' /usr/lib/ruby/vendor_ruby/rake/application.rb:104:in block in load_rakefile' /usr/lib/ruby/vendor_ruby/rake/application.rb:186:instandard_exception_handling' /usr/lib/ruby/vendor_ruby/rake/application.rb:103:in load_rakefile' /usr/lib/ruby/vendor_ruby/rake/application.rb:82:inblock in run' /usr/lib/ruby/vendor_ruby/rake/application.rb:186:in standard_exception_handling' /usr/lib/ruby/vendor_ruby/rake/application.rb:80:inrun' /usr/bin/rake:27:in `

'

Tab10id commented 4 years ago

Run migrations from redmine directory, not from plugin directory.