Project

General

Profile

Defect #29291

Updated by Marius BÄ‚LTEANU over 6 years ago

Run command: 

 <pre> 
 cd plugins 
 bundle exec rake redmine:plugins:migrate RAILS_ENV=production 
 </pre> 

 I get the error: 

 <pre> 
 NoMethodError: undefined method `migrate' for Redmine::Plugin::Migrator:Class 
 /home/developer/websites/redmine/lib/redmine/plugin.rb:482:in `migrate_plugin' 
 /home/developer/websites/redmine/lib/redmine/plugin.rb:454:in `migrate' 
 /home/developer/websites/redmine/lib/redmine/plugin.rb:468:in `block in migrate' 
 /home/developer/websites/redmine/lib/redmine/plugin.rb:467:in `each' 
 /home/developer/websites/redmine/lib/redmine/plugin.rb:467:in `migrate' 
 /home/developer/websites/redmine/lib/tasks/redmine.rake:135:in `block (3 levels) in <top (required)>' 
 /usr/local/rvm/gems/ruby-2.5.1/gems/rake-12.3.1/exe/rake:27:in `<top (required)>' 
 /usr/local/rvm/gems/ruby-2.5.1/bin/ruby_executable_hooks:15:in `eval' 
 /usr/local/rvm/gems/ruby-2.5.1/bin/ruby_executable_hooks:15:in `<main>' 
 Tasks: TOP => redmine:plugins:migrate 
 (See full trace by running task with --trace) 
 </pre> 

Back