-
Notifications
You must be signed in to change notification settings - Fork 88
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixes: "uninitialized constant MiniTest::Unit::Guard::MinitestNotifier (NameError)" in 1.9.x #25
Conversation
…otifier (NameError)" in 1.9.x
+1 |
PLEASE can someone update this? I'm having this error currently as we speak. |
+1 |
+2 |
Me too |
I am as well. running 1.9.2-head, should I be running 1.9.3? i looked into the code and 'guard/minitest' loads 'guard', which loads 'guard/notify'. i think the problem is when it loads the minitest/notifier file, its under the Minitest namespace, so it loads the class "MiniTest::Unit::Guard::MinitestNotifier", instead of Guard::MinitestNotifier. When i set a binding.pry on one of my tests, the Guard::MinitestNotifier class exists I think this might have something to do with the way i'm requiring files/modules in my spec_helper. This is what i'm using to start up guard: |
nevermind, just saw your commit hah |
I am using guard-minitest with a 2.3.14 app on 1.8.7 and hit this error too. Would love to see a gem release so I do not have to monkey patch. |
I created my own fork from the patched fork, merged some other fixes in, and then changed my
This is cleaner and more manageable than manually editing code, but I agree the patch should be pulled. Having said that, I gave up on guard-minitest altogether because there were too many other issues. I get the impression it's not really being maintained any more. |
Well there's definitely not an issue of contributors wanting to maintain. I being one of them myself. |
Luckily github makes that possible even without the approval of the original maintainer. Just make sure that your fork contains merges of all the good patches from everyone else's (if you look in the git network you will see TONS of unmerged forks) and then update the issues where appropriate to say that your fork has a fix. Then people will start using and writing patches against yours instead of the "official" one :) After all, the maintainer's job is pretty much just merging, and in a decentralized system anyone can do that :) |
@aspiers Have you tried contacting the maintainer of this repo and ask if you can get access to both this repo as a collaborator? Github makes that really easy. Also, rubygems.org makes it easy to add another owner to the gem space, see here. http://guides.rubygems.org/command-reference/#gem_owner When I took over active development for the less-rails gem, the old author was more than willing to let me start working in both of the official spaces. I can even help on this project too since I have been pushing MiniTest for some time now. Lemme know. BTW, I forked your repo on my work account and published a 'guard-minitest-decisiv' gem as a quick patch to a bundler issues. Seems 1.1rc is broken and will always pull in a |
Already contacted multiple of the repo owners. No dice. |
+1 I just did exactly the same fix and then saw others have been here before me! |
I planned time early next week for the maintenance of this gem |
+1 |
1 similar comment
+1 |
Fixes: "uninitialized constant MiniTest::Unit::Guard::MinitestNotifier (NameError)" in 1.9.x
release 0.5.0.rc1 include this pull request |
The heavens have spoken! TY @yannlugrin |
"officially" awesome |
Since updating minitest and guard-minitest Guard raised error on every run.