ivyl/redmine-gitolite — Issue #17: Is redmine-gitolite compatiable with redmine 1.3.1?
Author: lokimon
Created: 2012-03-06 20:30:15+00:00
State: open

I'm not a ruby expert, but it appears that redmine 1.3.1, which I think is the latest released version, doesn't have an update method on its repositories_controller object. It does on it's trunk branch.. is that what we should be using?

root@page:/opt/redmine# RAILS_ENV=production rake db:migrate_plugins
Please install RDoc 2.4.2+ to generate documentation.
rake aborted!
undefined method `update' for class `RepositoriesController'

Tasks: TOP => db:migrate_plugins => environment
(See full trace by running task with --trace)
root@page:/opt/redmine# RAILS_ENV=production rake db:migrate_plugins --trace
Please install RDoc 2.4.2+ to generate documentation.
** Invoke db:migrate_plugins (first_time)
** Invoke environment (first_time)
** Execute environment
rake aborted!
undefined method `update' for class `RepositoriesController'
/var/lib/gems/1.8/gems/activesupport-2.3.14/lib/active_support/core_ext/module/aliasing.rb:33:in `alias_method'
/var/lib/gems/1.8/gems/activesupport-2.3.14/lib/active_support/core_ext/module/aliasing.rb:33:in `alias_method_chain'
/opt/redmine/vendor/plugins/redmine-gitolite/lib/gitolite/patches/repositories_controller_patch.rb:35:in `send'
/opt/redmine/vendor/plugins/redmine-gitolite/lib/gitolite/patches/repositories_controller_patch.rb:35:in `included'
/opt/redmine/vendor/plugins/redmine-gitolite/lib/gitolite/patches/repositories_controller_patch.rb:51:in `include'
/opt/redmine/vendor/plugins/redmine-gitolite/lib/gitolite/patches/repositories_controller_patch.rb:51:in `send'
/opt/redmine/vendor/plugins/redmine-gitolite/lib/gitolite/patches/repositories_controller_patch.rb:51
/usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:53:in `gem_original_require'
/usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:53:in `require'
/var/lib/gems/1.8/gems/activesupport-2.3.14/lib/active_support/dependencies.rb:184:in `require'
/var/lib/gems/1.8/gems/activesupport-2.3.14/lib/active_support/dependencies.rb:291:in `require_or_load'
/var/lib/gems/1.8/gems/activesupport-2.3.14/lib/active_support/dependencies.rb:250:in `depend_on'
/var/lib/gems/1.8/gems/activesupport-2.3.14/lib/active_support/dependencies.rb:162:in `require_dependency'
/opt/redmine/vendor/plugins/redmine-gitolite/init.rb:6:in `evaluate_init_rb'
/var/lib/gems/1.8/gems/rails-2.3.14/lib/rails/plugin.rb:158:in `evaluate_init_rb'
/var/lib/gems/1.8/gems/activesupport-2.3.14/lib/active_support/core_ext/kernel/reporting.rb:11:in `silence_warnings'
/var/lib/gems/1.8/gems/rails-2.3.14/lib/rails/plugin.rb:154:in `evaluate_init_rb'
/var/lib/gems/1.8/gems/rails-2.3.14/lib/rails/plugin.rb:48:in `load'
/opt/redmine/config/../vendor/plugins/engines/lib/engines/plugin.rb:44:in `load'
/var/lib/gems/1.8/gems/rails-2.3.14/lib/rails/plugin/loader.rb:38:in `load_plugins'
/var/lib/gems/1.8/gems/rails-2.3.14/lib/rails/plugin/loader.rb:37:in `each'
/var/lib/gems/1.8/gems/rails-2.3.14/lib/rails/plugin/loader.rb:37:in `load_plugins'
/var/lib/gems/1.8/gems/rails-2.3.14/lib/initializer.rb:369:in `load_plugins'
/var/lib/gems/1.8/gems/rails-2.3.14/lib/initializer.rb:165:in `process'
/var/lib/gems/1.8/gems/rails-2.3.14/lib/initializer.rb:113:in `send'
/var/lib/gems/1.8/gems/rails-2.3.14/lib/initializer.rb:113:in `run'
/opt/redmine/config/environment.rb:24
/usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
/usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `require'
/var/lib/gems/1.8/gems/activesupport-2.3.14/lib/active_support/dependencies.rb:182:in `require'
/var/lib/gems/1.8/gems/activesupport-2.3.14/lib/active_support/dependencies.rb:547:in `new_constants_in'
/var/lib/gems/1.8/gems/activesupport-2.3.14/lib/active_support/dependencies.rb:182:in `require'
/var/lib/gems/1.8/gems/rails-2.3.14/lib/tasks/misc.rake:4
/usr/lib/ruby/vendor_ruby/rake/task.rb:205:in `call'
/usr/lib/ruby/vendor_ruby/rake/task.rb:205:in `execute'
/usr/lib/ruby/vendor_ruby/rake/task.rb:200:in `each'
/usr/lib/ruby/vendor_ruby/rake/task.rb:200:in `execute'
/usr/lib/ruby/vendor_ruby/rake/task.rb:158:in `invoke_with_call_chain'
/usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'
/usr/lib/ruby/vendor_ruby/rake/task.rb:151:in `invoke_with_call_chain'
/usr/lib/ruby/vendor_ruby/rake/task.rb:176:in `invoke_prerequisites'
/usr/lib/ruby/vendor_ruby/rake/task.rb:174:in `each'
/usr/lib/ruby/vendor_ruby/rake/task.rb:174:in `invoke_prerequisites'
/usr/lib/ruby/vendor_ruby/rake/task.rb:157:in `invoke_with_call_chain'
/usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'
/usr/lib/ruby/vendor_ruby/rake/task.rb:151:in `invoke_with_call_chain'
/usr/lib/ruby/vendor_ruby/rake/task.rb:144:in `invoke'
/usr/lib/ruby/vendor_ruby/rake/application.rb:116:in `invoke_task'
/usr/lib/ruby/vendor_ruby/rake/application.rb:94:in `top_level'
/usr/lib/ruby/vendor_ruby/rake/application.rb:94:in `each'
/usr/lib/ruby/vendor_ruby/rake/application.rb:94:in `top_level'
/usr/lib/ruby/vendor_ruby/rake/application.rb:133:in `standard_exception_handling'
/usr/lib/ruby/vendor_ruby/rake/application.rb:88:in `top_level'
/usr/lib/ruby/vendor_ruby/rake/application.rb:66:in `run'
/usr/lib/ruby/vendor_ruby/rake/application.rb:133:in `standard_exception_handling'
/usr/lib/ruby/vendor_ruby/rake/application.rb:63:in `run'
/usr/bin/rake:27
Tasks: TOP => db:migrate_plugins => environment