hicknhack-software / redmine_time_tracker

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

undefined method `desc' for main:Object (NoMethodError #184

Closed ppoektos closed 9 years ago

ppoektos commented 10 years ago
/var/www/rm2.4.0/plugins/redmine_time_tracker/lib/tasks/setup_plugin.rake:3:in `<top (required)>': undefined method `desc' for main:Object (NoMethodError)
    from /usr/local/rvm/gems/ruby-1.9.3-p327/gems/activesupport-3.2.15/lib/active_support/dependencies.rb:245:in `load'
    from /usr/local/rvm/gems/ruby-1.9.3-p327/gems/activesupport-3.2.15/lib/active_support/dependencies.rb:245:in `block in load'
    from /usr/local/rvm/gems/ruby-1.9.3-p327/gems/activesupport-3.2.15/lib/active_support/dependencies.rb:236:in `load_dependency'
    from /usr/local/rvm/gems/ruby-1.9.3-p327/gems/activesupport-3.2.15/lib/active_support/dependencies.rb:245:in `load'
    from /var/www/rm2.4.0/plugins/redmine_time_tracker/init.rb:20:in `<top (required)>'
    from /usr/local/rvm/gems/ruby-1.9.3-p327/gems/activesupport-3.2.15/lib/active_support/dependencies.rb:251:in `require'
    from /usr/local/rvm/gems/ruby-1.9.3-p327/gems/activesupport-3.2.15/lib/active_support/dependencies.rb:251:in `block in require'
    from /usr/local/rvm/gems/ruby-1.9.3-p327/gems/activesupport-3.2.15/lib/active_support/dependencies.rb:236:in `load_dependency'
    from /usr/local/rvm/gems/ruby-1.9.3-p327/gems/activesupport-3.2.15/lib/active_support/dependencies.rb:251:in `require'
    from /var/www/rm2.4.0/lib/redmine/plugin.rb:133:in `block in load'
    from /var/www/rm2.4.0/lib/redmine/plugin.rb:124:in `each'
    from /var/www/rm2.4.0/lib/redmine/plugin.rb:124:in `load'
    from /var/www/rm2.4.0/config/initializers/30-redmine.rb:19:in `<top (required)>'
    from /usr/local/rvm/gems/ruby-1.9.3-p327/gems/activesupport-3.2.15/lib/active_support/dependencies.rb:245:in `load'
    from /usr/local/rvm/gems/ruby-1.9.3-p327/gems/activesupport-3.2.15/lib/active_support/dependencies.rb:245:in `block in load'
    from /usr/local/rvm/gems/ruby-1.9.3-p327/gems/activesupport-3.2.15/lib/active_support/dependencies.rb:236:in `load_dependency'
    from /usr/local/rvm/gems/ruby-1.9.3-p327/gems/activesupport-3.2.15/lib/active_support/dependencies.rb:245:in `load'
    from /usr/local/rvm/gems/ruby-1.9.3-p327/gems/railties-3.2.15/lib/rails/engine.rb:593:in `block (2 levels) in <class:Engine>'
    from /usr/local/rvm/gems/ruby-1.9.3-p327/gems/railties-3.2.15/lib/rails/engine.rb:592:in `each'
    from /usr/local/rvm/gems/ruby-1.9.3-p327/gems/railties-3.2.15/lib/rails/engine.rb:592:in `block in <class:Engine>'
    from /usr/local/rvm/gems/ruby-1.9.3-p327/gems/railties-3.2.15/lib/rails/initializable.rb:30:in `instance_exec'
    from /usr/local/rvm/gems/ruby-1.9.3-p327/gems/railties-3.2.15/lib/rails/initializable.rb:30:in `run'
    from /usr/local/rvm/gems/ruby-1.9.3-p327/gems/railties-3.2.15/lib/rails/initializable.rb:55:in `block in run_initializers'
    from /usr/local/rvm/gems/ruby-1.9.3-p327/gems/railties-3.2.15/lib/rails/initializable.rb:54:in `each'
    from /usr/local/rvm/gems/ruby-1.9.3-p327/gems/railties-3.2.15/lib/rails/initializable.rb:54:in `run_initializers'
    from /usr/local/rvm/gems/ruby-1.9.3-p327/gems/railties-3.2.15/lib/rails/application.rb:136:in `initialize!'
    from /usr/local/rvm/gems/ruby-1.9.3-p327/gems/railties-3.2.15/lib/rails/railtie/configurable.rb:30:in `method_missing'
    from /var/www/rm2.4.0/config/environment.rb:14:in `<top (required)>'
    from config.ru:3:in `require'
    from config.ru:3:in `block in <main>'
    from /usr/local/rvm/gems/ruby-1.9.3-p327/gems/rack-1.4.5/lib/rack/builder.rb:51:in `instance_eval'
    from /usr/local/rvm/gems/ruby-1.9.3-p327/gems/rack-1.4.5/lib/rack/builder.rb:51:in `initialize'
    from config.ru:in `new'
    from config.ru:in `<main>'
    from /usr/local/rvm/gems/ruby-1.9.3-p327/gems/rack-1.4.5/lib/rack/builder.rb:40:in `eval'
    from /usr/local/rvm/gems/ruby-1.9.3-p327/gems/rack-1.4.5/lib/rack/builder.rb:40:in `parse_file'
    from /usr/local/rvm/gems/ruby-1.9.3-p327/gems/puma-2.6.0/lib/puma/configuration.rb:93:in `app'
    from /usr/local/rvm/gems/ruby-1.9.3-p327/gems/puma-2.6.0/lib/puma/runner.rb:115:in `app'
    from /usr/local/rvm/gems/ruby-1.9.3-p327/gems/puma-2.6.0/lib/puma/runner.rb:122:in `start_server'
    from /usr/local/rvm/gems/ruby-1.9.3-p327/gems/puma-2.6.0/lib/puma/cluster.rb:148:in `worker'
    from /usr/local/rvm/gems/ruby-1.9.3-p327/gems/puma-2.6.0/lib/puma/cluster.rb:71:in `block (2 levels) in spawn_workers'
    from /usr/local/rvm/gems/ruby-1.9.3-p327/gems/puma-2.6.0/lib/puma/cluster.rb:71:in `fork'
    from /usr/local/rvm/gems/ruby-1.9.3-p327/gems/puma-2.6.0/lib/puma/cluster.rb:71:in `block in spawn_workers'
    from /usr/local/rvm/gems/ruby-1.9.3-p327/gems/puma-2.6.0/lib/puma/cluster.rb:70:in `times'
    from /usr/local/rvm/gems/ruby-1.9.3-p327/gems/puma-2.6.0/lib/puma/cluster.rb:70:in `spawn_workers'
    from /usr/local/rvm/gems/ruby-1.9.3-p327/gems/puma-2.6.0/lib/puma/cluster.rb:93:in `check_workers'
    from /usr/local/rvm/gems/ruby-1.9.3-p327/gems/puma-2.6.0/lib/puma/cluster.rb:301:in `run'
    from /usr/local/rvm/gems/ruby-1.9.3-p327/gems/puma-2.6.0/lib/puma/cli.rb:442:in `run'
    from /usr/local/rvm/gems/ruby-1.9.3-p327/gems/puma-2.6.0/bin/puma:10:in `<top (required)>'
    from /usr/local/rvm/gems/ruby-1.9.3-p327/bin/puma:19:in `load'
    from /usr/local/rvm/gems/ruby-1.9.3-p327/bin/puma:19:in `<main>'
    from /usr/local/rvm/gems/ruby-1.9.3-p327/bin/ruby_noexec_wrapper:14:in `eval'
    from /usr/local/rvm/gems/ruby-1.9.3-p327/bin/ruby_noexec_wrapper:14:in `<main>'

Environment:
  Redmine version                2.4.0.stable
  Ruby version                   1.9.3-p327 (2012-11-10) [i686-linux]
  Rails version                  3.2.15
  Environment                    production
  Database adapter               Mysql2
sn3ek commented 10 years ago

Please try to run the command with bundle exec:

bundle exec rake redmine:plugins:redmine_time_tracker:install RAILS_ENV=production
sn3ek commented 10 years ago

Did it work out for you?

arBmind commented 9 years ago

no reply... seems to work then. closed.