hicknhack-software / redmine_time_tracker

A time tracker plugin for Redmine
Other
106 stars 32 forks source link

Not running on Redmine 2.6.0 #192

Closed jhit closed 9 years ago

jhit commented 9 years ago

Today I tried to upgrade Redmine to 2.6.0 but unfortunately the redmine_time_tracker will not play nice.

I get this error:

Exiting
NoMethodError: undefined method `desc' for main:Object
            (root) at /var/www/clients/client1/web11/redmine-2.6.0/plugins/redmine_time_tracker/lib/tasks/setup_plugin.rake:3
              load at org/jruby/RubyKernel.java:1081
            (root) at /usr/local/rvm/gems/jruby-1.7.16/gems/activesupport-3.2.19/lib/active_support/dependencies.rb:1
   load_dependency at /usr/local/rvm/gems/jruby-1.7.16/gems/activesupport-3.2.19/lib/active_support/dependencies.rb:236
              load at /usr/local/rvm/gems/jruby-1.7.16/gems/activesupport-3.2.19/lib/active_support/dependencies.rb:245
              load at /usr/local/rvm/gems/jruby-1.7.16/gems/activesupport-3.2.19/lib/active_support/dependencies.rb:245
           require at org/jruby/RubyKernel.java:1065
           require at /usr/local/rvm/gems/jruby-1.7.16/gems/activesupport-3.2.19/lib/active_support/dependencies.rb:251
   load_dependency at /usr/local/rvm/gems/jruby-1.7.16/gems/activesupport-3.2.19/lib/active_support/dependencies.rb:236
           require at /usr/local/rvm/gems/jruby-1.7.16/gems/activesupport-3.2.19/lib/active_support/dependencies.rb:251
            (root) at /var/www/clients/client1/web11/redmine-2.6.0/plugins/redmine_time_tracker/init.rb:20
              each at org/jruby/RubyArray.java:1613
            (root) at /var/www/clients/client1/web11/redmine-2.6.0/lib/redmine/plugin.rb:1
              load at /var/www/clients/client1/web11/redmine-2.6.0/lib/redmine/plugin.rb:150
              load at org/jruby/RubyKernel.java:1081
              load at /var/www/clients/client1/web11/redmine-2.6.0/lib/redmine/plugin.rb:141
   load_dependency at /usr/local/rvm/gems/jruby-1.7.16/gems/activesupport-3.2.19/lib/active_support/dependencies.rb:236
            (root) at /var/www/clients/client1/web11/redmine-2.6.0/config/initializers/30-redmine.rb:19
            (root) at /usr/local/rvm/gems/jruby-1.7.16/gems/activesupport-3.2.19/lib/active_support/dependencies.rb:1
              each at org/jruby/RubyArray.java:1613
              load at /usr/local/rvm/gems/jruby-1.7.16/gems/activesupport-3.2.19/lib/active_support/dependencies.rb:245
     instance_exec at org/jruby/RubyBasicObject.java:1562
              load at /usr/local/rvm/gems/jruby-1.7.16/gems/activesupport-3.2.19/lib/active_support/dependencies.rb:245
            Engine at /usr/local/rvm/gems/jruby-1.7.16/gems/railties-3.2.19/lib/rails/engine.rb:593
              each at org/jruby/RubyArray.java:1613
            Engine at /usr/local/rvm/gems/jruby-1.7.16/gems/railties-3.2.19/lib/rails/engine.rb:592
               run at /usr/local/rvm/gems/jruby-1.7.16/gems/railties-3.2.19/lib/rails/initializable.rb:30
  run_initializers at /usr/local/rvm/gems/jruby-1.7.16/gems/railties-3.2.19/lib/rails/initializable.rb:55
  run_initializers at /usr/local/rvm/gems/jruby-1.7.16/gems/railties-3.2.19/lib/rails/initializable.rb:54
           require at org/jruby/RubyKernel.java:1065
           require at /usr/local/rvm/gems/jruby-1.7.16/gems/activesupport-3.2.19/lib/active_support/dependencies.rb:251
   load_dependency at /usr/local/rvm/gems/jruby-1.7.16/gems/activesupport-3.2.19/lib/active_support/dependencies.rb:236
           require at /usr/local/rvm/gems/jruby-1.7.16/gems/activesupport-3.2.19/lib/active_support/dependencies.rb:251
       initialize! at /usr/local/rvm/gems/jruby-1.7.16/gems/railties-3.2.19/lib/rails/application.rb:136
     instance_eval at org/jruby/RubyBasicObject.java:1533
    method_missing at /usr/local/rvm/gems/jruby-1.7.16/gems/railties-3.2.19/lib/rails/railtie/configurable.rb:30
            (root) at /var/www/clients/client1/web11/redmine-2.6.0/config/environment.rb:14
              eval at org/jruby/RubyKernel.java:1101
            (root) at /var/www/clients/client1/web11/redmine-2.6.0/config.ru:1
        parse_file at /var/www/clients/client1/web11/redmine-2.6.0/config.ru:3
        initialize at /usr/local/rvm/gems/jruby-1.7.16/gems/rack-1.4.5/lib/rack/builder.rb:51
        parse_file at /var/www/clients/client1/web11/redmine-2.6.0/config.ru:0
        parse_file at /usr/local/rvm/gems/jruby-1.7.16/gems/rack-1.4.5/lib/rack/builder.rb:40
               app at /usr/local/rvm/gems/jruby-1.7.16/gems/rack-1.4.5/lib/rack/server.rb:200
               app at /usr/local/rvm/gems/jruby-1.7.16/gems/railties-3.2.19/lib/rails/commands/server.rb:46
               tap at org/jruby/RubyKernel.java:1880
       wrapped_app at /usr/local/rvm/gems/jruby-1.7.16/gems/rack-1.4.5/lib/rack/server.rb:304
           require at org/jruby/RubyKernel.java:1065
            (root) at script/rails:6

I previously was running Redmine 2.5.1 which had no problem with redmine_time_tracker