hron / redmine_subtasks

This is plugin for Redmine for adding subtasks functionality.
53 stars 13 forks source link

Cannot install plugin: Error during db:migrate #3

Closed mariocasciaro closed 15 years ago

mariocasciaro commented 15 years ago

sudo rake db:migrate_plugins RAILS_ENV="production" --trace (in /opt/redmine) * Invoke db:migrate_plugins (first_time) * Invoke environment (first_time) \ Execute environment rake aborted! undefined method create_journal' for classIssue' /opt/redmine/vendor/rails/activesupport/lib/active_support/core_ext/module/aliasing.rb:31:in alias_method' /opt/redmine/vendor/rails/activesupport/lib/active_support/core_ext/module/aliasing.rb:31:inalias_method_chain' /opt/redmine/vendor/plugins/hron-subtasks/lib/redmine_subtasks/redmine_ext/issue_patch.rb:137:in included' /opt/redmine/vendor/plugins/hron-subtasks/lib/redmine_subtasks/redmine_ext/issue_patch.rb:8:inclass_eval' /opt/redmine/vendor/plugins/hron-subtasks/lib/redmine_subtasks/redmine_ext/issue_patch.rb:8:in included' /opt/redmine/vendor/plugins/hron-subtasks/init.rb:42:ininclude' /opt/redmine/vendor/plugins/hron-subtasks/init.rb:42:in send' /opt/redmine/vendor/plugins/hron-subtasks/init.rb:42:inevaluate_init_rb' /opt/redmine/vendor/rails/activesupport/lib/active_support/callbacks.rb:177:in call' /opt/redmine/vendor/rails/activesupport/lib/active_support/callbacks.rb:177:inevaluate_method' /opt/redmine/vendor/rails/activesupport/lib/active_support/callbacks.rb:161:in call' /opt/redmine/vendor/rails/activesupport/lib/active_support/callbacks.rb:90:inrun' /opt/redmine/vendor/rails/activesupport/lib/active_support/callbacks.rb:90:in each' /opt/redmine/vendor/rails/activesupport/lib/active_support/callbacks.rb:90:insend' /opt/redmine/vendor/rails/activesupport/lib/active_support/callbacks.rb:90:in run' /opt/redmine/vendor/rails/activesupport/lib/active_support/callbacks.rb:272:inrun_callbacks' /opt/redmine/vendor/rails/railties/lib/initializer.rb:493:in send' /opt/redmine/vendor/rails/railties/lib/initializer.rb:493:inprepare_dispatcher' /opt/redmine/vendor/rails/railties/lib/initializer.rb:155:in process' /opt/redmine/vendor/rails/railties/lib/initializer.rb:97:insend' /opt/redmine/vendor/rails/railties/lib/initializer.rb:97:in run' /opt/redmine/config/environment.rb:20 /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:ingem_original_require' /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in require' /opt/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:510:inrequire' /opt/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:355:in new_constants_in' /opt/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:510:inrequire' /opt/redmine/vendor/rails/railties/lib/tasks/misc.rake:3 /var/lib/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in call' /var/lib/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:inexecute' /var/lib/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in each' /var/lib/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:inexecute' /var/lib/gems/1.8/gems/rake-0.8.7/lib/rake.rb:597:in invoke_with_call_chain' /usr/lib/ruby/1.8/monitor.rb:242:insynchronize' /var/lib/gems/1.8/gems/rake-0.8.7/lib/rake.rb:590:in invoke_with_call_chain' /var/lib/gems/1.8/gems/rake-0.8.7/lib/rake.rb:607:ininvoke_prerequisites' /var/lib/gems/1.8/gems/rake-0.8.7/lib/rake.rb:604:in each' /var/lib/gems/1.8/gems/rake-0.8.7/lib/rake.rb:604:ininvoke_prerequisites' /var/lib/gems/1.8/gems/rake-0.8.7/lib/rake.rb:596:in invoke_with_call_chain' /usr/lib/ruby/1.8/monitor.rb:242:insynchronize' /var/lib/gems/1.8/gems/rake-0.8.7/lib/rake.rb:590:in invoke_with_call_chain' /var/lib/gems/1.8/gems/rake-0.8.7/lib/rake.rb:583:ininvoke' /var/lib/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2051:in invoke_task' /var/lib/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:intop_level' /var/lib/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in each' /var/lib/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:intop_level' /var/lib/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in standard_exception_handling' /var/lib/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2023:intop_level' /var/lib/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2001:in run' /var/lib/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:instandard_exception_handling' /var/lib/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1998:in run' /var/lib/gems/1.8/gems/rake-0.8.7/bin/rake:31 /var/lib/gems/1.8/bin//rake:19:inload' /var/lib/gems/1.8/bin//rake:19

hron commented 15 years ago

The plugin does not work with 0.8.2 version of Redmine. This problem related to using stable version. You have to use trunk version to use this plugin.

telepenin commented 15 years ago

Good day. The same error in versions 0.8 and 0.8.4. Which version works? And how soon will plugin for redmine 0.8.4?

hron commented 15 years ago

Trunk version, future 0.9. I do not know when this plugin will work with 0.8.4.