uninitialized constant RepositoryObserver
When I tried to migrate this plugin in the Redmine 2.1.2, I got the following error:
rake aborted!
uninitialized constant RepositoryObserver
Tasks: TOP => redmine:plugins:migrate => environment
(See full trace by running task with --trace)
Comments (14)
-
repo owner -
repo owner Take a look at 7af5569
-
repo owner -
assigned issue to
- edited description
-
assigned issue to
-
Account Deleted reporter May be this could help. This is a similar issue found and fixed in another Plugin named SCM Creator:
-
repo owner This does not help very much. Did you try out my last commit?
-
Account Deleted reporter Yes I did and I'm getting the same error.
-
repo owner Quite Interesting...
avalarion ~/web $ rake redmine:plugins:migrate RAILS_ENV=production Migrating RedmineBitbucketGit (Redmine Bitbucket GIT)... avalarion ~/web/plugins/redmine_bitbucket_git $ git status # On branch development nothing to commit (working directory clean)
I have no Problem...
-
repo owner I need more informations about your server and so on.
-
Account Deleted I got same problem on my install. I've cloned your last commit so far :: 9fa23955582a7f5272dd9daa2b05ad691a468d0c Here some info on my Redmine install:
Environment:
- Redmine version 2.1.2.stable
- Ruby version 1.8.7 (x86_64-linux)
- Rails version 3.2.8
- Environment production
- Database adapter MySQL
Redmine plugins:
- redmine_contacts 3.0.1-pro
- redmine_issue_history_tabs 0.0.3
- redmine_monitoring_controlling 0.1.1
-
repo owner Sorry, I don't know any solution for this. As I am not able to write ruby and get no help ( asked on twitter and IRC ), this seams to die... :(
-
Bastian, try to implement this to register observer: http://riotprojects.com/post/106808946/activerecord-observers-in-gems-plugins
-
repo owner Thank you Krzysztof! I will try to fix it as soon as I have a little bit of more freetime, right now I have tests and customer questions.
-
just a 'lil step away! :-)
-
repo owner I tried a lot with it and read alot about it, but that is not the problem, I guess. I am observing a repository and a repository is a class I am using for this... ARG! Why the heck does it hate me?
- Log in to comment
I know. I am working in another branch to try around with this, but this is not easy... And I am not good with ruby at all...