Project

General

Profile

Defect #1202

Redmine Hudson plugin 2.1.1 and Redmine 2.2.3

Added by andre araujo over 6 years ago. Updated over 6 years ago.

Status:
新規(New)
Priority:
通常(Normal)
Assignee:
-
Category:
Hudson Plugin
Target version:
-
Start date:
03/05/2013
Due date:
% Done:

0%

Estimated time:

Description

root@viuvinha redmine_hudson]# rake db:migrate_plugins RAILS_ENV=production
(in /var/www/redmine)
rake aborted!
undefined method `available_filters' for class `Query'
/var/www/redmine/plugins/redmine_hudson/lib/query_patch.rb:22:in `included'
/var/www/redmine/plugins/redmine_hudson/lib/query_patch.rb:19:in `class_eval'
/var/www/redmine/plugins/redmine_hudson/lib/query_patch.rb:19:in `included'
/var/www/redmine/plugins/redmine_hudson/init.rb:50:in `include'
/var/www/redmine/plugins/redmine_hudson/init.rb:50:in `send'
/var/www/redmine/plugins/redmine_hudson/init.rb:50:in `_callback_before_1001'
/var/www/redmine/config/environment.rb:14
Tasks: TOP => db:migrate_plugins => redmine:plugins:migrate => environment
(See full trace by running task with --trace)
[root@viuvinha redmine_hudson]# vim /var/www/redmine/plugins/redmine_hudson/init.rb

there is some compatibility between redmine 2.2.3 and redmine_hudson 2.1.1 ?

History

#1

Updated by andre araujo over 6 years ago

*Please give us a result of following command.¶

% ruby script/about*

[root@viuvinha redmine]# ruby script/about
/usr/lib/ruby/gems/1.8/gems/coderay-1.0.9/lib/coderay/helpers/file_type.rb:19: warning: already initialized constant UnknownFileType
/usr/lib/ruby/gems/1.8/gems/coderay-1.0.9/lib/coderay/helpers/file_type.rb:126: warning: already initialized constant TypeFromExt
/usr/lib/ruby/gems/1.8/gems/coderay-1.0.9/lib/coderay/helpers/file_type.rb:132: warning: already initialized constant TypeFromShebang
/usr/lib/ruby/gems/1.8/gems/coderay-1.0.9/lib/coderay/helpers/file_type.rb:138: warning: already initialized constant TypeFromName
/usr/lib/ruby/gems/1.8/gems/activesupport-3.2.11/lib/active_support/core_ext/module/aliasing.rb:31:in `alias_method': undefined method `available_filters' for class `Query' (NameError)
from /usr/lib/ruby/gems/1.8/gems/activesupport-3.2.11/lib/active_support/core_ext/module/aliasing.rb:31:in `alias_method_chain'
from /var/www/redmine/plugins/redmine_hudson/lib/query_patch.rb:22:in `included'
from /var/www/redmine/plugins/redmine_hudson/lib/query_patch.rb:19:in `class_eval'
from /var/www/redmine/plugins/redmine_hudson/lib/query_patch.rb:19:in `included'
from /var/www/redmine/plugins/redmine_hudson/init.rb:50:in `include'
from /var/www/redmine/plugins/redmine_hudson/init.rb:50:in `send'
from /var/www/redmine/plugins/redmine_hudson/init.rb:50:in `_callback_before_1001'
from /usr/lib/ruby/gems/1.8/gems/activesupport-3.2.11/lib/active_support/callbacks.rb:440:in `_run__1800239030__prepare__4__callbacks'
from /usr/lib/ruby/gems/1.8/gems/activesupport-3.2.11/lib/active_support/callbacks.rb:405:in `send'
from /usr/lib/ruby/gems/1.8/gems/activesupport-3.2.11/lib/active_support/callbacks.rb:405:in `__run_callback'
from /usr/lib/ruby/gems/1.8/gems/activesupport-3.2.11/lib/active_support/callbacks.rb:385:in `_run_prepare_callbacks'
from /usr/lib/ruby/gems/1.8/gems/activesupport-3.2.11/lib/active_support/callbacks.rb:81:in `send'
from /usr/lib/ruby/gems/1.8/gems/activesupport-3.2.11/lib/active_support/callbacks.rb:81:in `run_callbacks'
from /usr/lib/ruby/gems/1.8/gems/actionpack-3.2.11/lib/action_dispatch/middleware/reloader.rb:74:in `prepare!'
from /usr/lib/ruby/gems/1.8/gems/actionpack-3.2.11/lib/action_dispatch/middleware/reloader.rb:48:in `prepare!'
from /usr/lib/ruby/gems/1.8/gems/railties-3.2.11/lib/rails/application/finisher.rb:47
from /usr/lib/ruby/gems/1.8/gems/railties-3.2.11/lib/rails/initializable.rb:30:in `instance_exec'
from /usr/lib/ruby/gems/1.8/gems/railties-3.2.11/lib/rails/initializable.rb:30:in `run'
from /usr/lib/ruby/gems/1.8/gems/railties-3.2.11/lib/rails/initializable.rb:55:in `run_initializers'
from /usr/lib/ruby/gems/1.8/gems/railties-3.2.11/lib/rails/initializable.rb:54:in `each'
from /usr/lib/ruby/gems/1.8/gems/railties-3.2.11/lib/rails/initializable.rb:54:in `run_initializers'
from /usr/lib/ruby/gems/1.8/gems/railties-3.2.11/lib/rails/application.rb:136:in `initialize!'
from /usr/lib/ruby/gems/1.8/gems/railties-3.2.11/lib/rails/railtie/configurable.rb:30:in `send'
from /usr/lib/ruby/gems/1.8/gems/railties-3.2.11/lib/rails/railtie/configurable.rb:30:in `method_missing'
from /var/www/redmine/config/environment.rb:14
from script/about:4:in `require'
from script/about:4

Also available in: Atom PDF