-1

Redmine 2.0.0 をインストールし、github からpluginsディレクトリにプラグインをインストールしようとしました。
私は2つのプラグインMonitoring_ControllingRedmine-Bulk-User-Assignmentsをgithubプラグインに書かれたインストール手順に従ってインストールしようとしましたが、両方のプラグインで同じエラーが発生し、エラーが続きます

Started GET "/bulk_user_assignments" for 127.0.0.1 at Sat May 19 13:37:26 +0530 2012

ActionController::RoutingError (uninitialized constant BulkUserAssignmentsController):
  activesupport (3.2.3) lib/active_support/inflector/methods.rb:218:in `constantize'
  activesupport (3.2.3) lib/active_support/inflector/methods.rb:217:in `each'
  activesupport (3.2.3) lib/active_support/inflector/methods.rb:217:in `constantize'
  actionpack (3.2.3) lib/action_dispatch/routing/route_set.rb:69:in `controller_reference'
  actionpack (3.2.3) lib/action_dispatch/routing/route_set.rb:54:in `controller'
  actionpack (3.2.3) lib/action_dispatch/routing/route_set.rb:32:in `call'
  journey (1.0.3) lib/journey/router.rb:68:in `call'
  journey (1.0.3) lib/journey/router.rb:56:in `each'
  journey (1.0.3) lib/journey/router.rb:56:in `call'
  actionpack (3.2.3) lib/action_dispatch/routing/route_set.rb:600:in `call'
  rack-openid (1.3.1) lib/rack/openid.rb:98:in `call'
  actionpack (3.2.3) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
  rack (1.4.1) lib/rack/etag.rb:23:in `call'
  rack (1.4.1) lib/rack/conditionalget.rb:25:in `call'
  actionpack (3.2.3) lib/action_dispatch/middleware/head.rb:14:in `call'
  actionpack (3.2.3) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
  actionpack (3.2.3) lib/action_dispatch/middleware/flash.rb:242:in `call'
  rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context'
  rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call'
  actionpack (3.2.3) lib/action_dispatch/middleware/cookies.rb:338:in `call'
  activerecord (3.2.3) lib/active_record/query_cache.rb:64:in `call'
  activerecord (3.2.3) lib/active_record/connection_adapters/abstract/connection_pool.rb:467:in `call'
  actionpack (3.2.3) lib/action_dispatch/middleware/callbacks.rb:28:in `call'
  activesupport (3.2.3) lib/active_support/callbacks.rb:405:in `_run__108590059__call__4__callbacks'
  activesupport (3.2.3) lib/active_support/callbacks.rb:405:in `send'
  activesupport (3.2.3) lib/active_support/callbacks.rb:405:in `__run_callback'
  activesupport (3.2.3) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
  activesupport (3.2.3) lib/active_support/callbacks.rb:81:in `send'
  activesupport (3.2.3) lib/active_support/callbacks.rb:81:in `run_callbacks'
  actionpack (3.2.3) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
  actionpack (3.2.3) lib/action_dispatch/middleware/reloader.rb:65:in `call'
  actionpack (3.2.3) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
  actionpack (3.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
  actionpack (3.2.3) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
  railties (3.2.3) lib/rails/rack/logger.rb:26:in `call_app'
  railties (3.2.3) lib/rails/rack/logger.rb:16:in `call'
  actionpack (3.2.3) lib/action_dispatch/middleware/request_id.rb:22:in `call'
  rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
  rack (1.4.1) lib/rack/runtime.rb:17:in `call'
  activesupport (3.2.3) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
  rack (1.4.1) lib/rack/lock.rb:15:in `call'
  actionpack (3.2.3) lib/action_dispatch/middleware/static.rb:62:in `call'
  railties (3.2.3) lib/rails/engine.rb:479:in `call'
  railties (3.2.3) lib/rails/application.rb:220:in `call'
  rack (1.4.1) lib/rack/content_length.rb:14:in `call'
  railties (3.2.3) lib/rails/rack/log_tailer.rb:14:in `call'
  rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
  /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
  /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
  /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
  /usr/lib/ruby/1.8/webrick/server.rb:162:in `start'
  /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
  /usr/lib/ruby/1.8/webrick/server.rb:95:in `start'
  /usr/lib/ruby/1.8/webrick/server.rb:92:in `each'
  /usr/lib/ruby/1.8/webrick/server.rb:92:in `start'
  /usr/lib/ruby/1.8/webrick/server.rb:23:in `start'
  /usr/lib/ruby/1.8/webrick/server.rb:82:in `start'
  rack (1.4.1) lib/rack/handler/webrick.rb:13:in `run'
  rack (1.4.1) lib/rack/server.rb:265:in `start'
  railties (3.2.3) lib/rails/commands/server.rb:70:in `start'
  railties (3.2.3) lib/rails/commands.rb:55
  railties (3.2.3) lib/rails/commands.rb:50:in `tap'
  railties (3.2.3) lib/rails/commands.rb:50
  script/rails:6:in `require'
  script/rails:6

redmine 2 にプラグインをインストールしたり、他の場所にルートを書き込んだりするために他に何かする必要がありますか? もう 1 つ、両方のプラグインが Rails 2 で記述されているため、routes ファイルを rails 3 の routes ファイルに変更します。

4

2 に答える 2

3

Redmine 1.x ベースのプラグインは 2.0 で壊れます

redmine2.0のリリースニュースを見る --> http://www.redmine.org/news/66

monitoring_controlling プラグインはまだ Redmine2.0 と互換性がありません (広告とは異なり)

Routeファイルを変更する必要があります(変更の1つ)。将来の証明プラグインを作成する一般的な範囲を理解するには、この議論が役立つかもしれません -->

http://www.redmine.org/issues/10813

于 2012-05-20T06:46:07.130 に答える
2

Redmine Monitoring Controlling Plugin は Redmine 2.0 に対応しています。

git リポジトリの最後のコミットを確認してください: https://github.com/alexmonteiro/Redmine-Monitoring-Controlling

于 2012-05-22T19:53:38.333 に答える