koppen / redmine_github_hook

Allow your Redmine installation to be notified when changes have been pushed to a Github repository.
http://mentalized.net/journal/2009/08/03/redmine_plugin_github_hook/
MIT License
478 stars 114 forks source link

don't work in redmine 1.4.1 #26

Closed swood closed 12 years ago

swood commented 12 years ago

After install plugin and starting thin I see next exception:

/usr/lib/ruby/gems/1.9.1/gems/activesupport-2.3.14/lib/active_support/dependencies.rb:611:in to_constant_name': Anonymous modules have no name to be referenced by (ArgumentError) from /usr/lib/ruby/gems/1.9.1/gems/activesupport-2.3.14/lib/active_support/dependencies.rb:417:inqualified_name_for' from /usr/lib/ruby/gems/1.9.1/gems/activesupport-2.3.14/lib/active_support/dependencies.rb:130:in rescue in const_missing' from /usr/lib/ruby/gems/1.9.1/gems/activesupport-2.3.14/lib/active_support/dependencies.rb:120:inconst_missing' from /tracker/vendor/plugins/redmine_github_hook/config/routes.rb:1:in <top (required)>' from /usr/lib/ruby/gems/1.9.1/gems/activesupport-2.3.14/lib/active_support/dependencies.rb:173:inload' from /usr/lib/ruby/gems/1.9.1/gems/activesupport-2.3.14/lib/active_support/dependencies.rb:173:in load_with_new_constant_marking' from /usr/lib/ruby/gems/1.9.1/gems/actionpack-2.3.14/lib/action_controller/routing/route_set.rb:287:inblock in load_routes!' from /usr/lib/ruby/gems/1.9.1/gems/actionpack-2.3.14/lib/action_controller/routing/route_set.rb:287:in each' from /usr/lib/ruby/gems/1.9.1/gems/actionpack-2.3.14/lib/action_controller/routing/route_set.rb:287:inload_routes!' from /usr/lib/ruby/gems/1.9.1/gems/actionpack-2.3.14/lib/action_controller/routing/route_set.rb:267:in load!' from /usr/lib/ruby/gems/1.9.1/gems/rails-2.3.14/lib/initializer.rb:537:ininitialize_routing' from /usr/lib/ruby/gems/1.9.1/gems/rails-2.3.14/lib/initializer.rb:188:in process' from /usr/lib/ruby/gems/1.9.1/gems/rails-2.3.14/lib/initializer.rb:113:inrun' from /tracker/config/environment.rb:21:in <top (required)>' from <internal:lib/rubygems/custom_require>:29:inrequire' from internal:lib/rubygems/custom_require:29:in require' from /usr/lib/ruby/gems/1.9.1/gems/thin-1.4.1/lib/rack/adapter/rails.rb:37:inload_application' from /usr/lib/ruby/gems/1.9.1/gems/thin-1.4.1/lib/rack/adapter/rails.rb:23:in initialize' from /usr/lib/ruby/gems/1.9.1/gems/thin-1.4.1/lib/rack/adapter/loader.rb:45:innew' from /usr/lib/ruby/gems/1.9.1/gems/thin-1.4.1/lib/rack/adapter/loader.rb:45:in for' from /usr/lib/ruby/gems/1.9.1/gems/thin-1.4.1/lib/thin/controllers/controller.rb:169:inload_adapter' from /usr/lib/ruby/gems/1.9.1/gems/thin-1.4.1/lib/thin/controllers/controller.rb:73:in start' from /usr/lib/ruby/gems/1.9.1/gems/thin-1.4.1/lib/thin/runner.rb:185:inrun_command' from /usr/lib/ruby/gems/1.9.1/gems/thin-1.4.1/lib/thin/runner.rb:151:in run!' from /usr/lib/ruby/gems/1.9.1/gems/thin-1.4.1/bin/thin:6:in<top (required)>' from /usr/bin/thin:19:in load' from /usr/bin/thin:19:in

' And thin procss crashed.

koppen commented 12 years ago

The master branch is currently for Redmine 2.x as specified in the README. You should be able to use either the redmine_1.x branch or the 1.1.0 release.