-
Notifications
You must be signed in to change notification settings - Fork 81
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
ERROR - Could not load 'guard/jasmine' #117
Comments
This wfm on Mac OS X. Can someone with access to a Windows 7 machine verify this? |
Can you please give us the information we kindly requested in the CONTRIBUTING.md when you filed an issue? The given error message comes from Guard when the plugin class cannot be loaded. That Guard plugin class exists since the initial version of Guard::Jasmine and hasn't changed in any version, thus I assume it's an environmental issue. |
I am not sure what additional information you would like. My Guardfile is empty. I did test each version from 1.11.1 through today's 1.13.1 and 1.11.1 is the only one that appears to be working. Looking at the diffs between versions, it looks like the use of require (in 1.12.0) instead of autoload (in 1.11.1) in jasmine.rb is the change that breaks it. I think that autoload is being deprecated, but I'm not sure why require isn't working as expected in this context. |
After further review, it looks like it was a problem with coverage.rb which was first included in 1.12.0. It appears to not correctly load Guard::Jasmine before trying to extend it. |
See also twill88@18ebb0b which is included in #118 |
Version 1.13.2 is released that fixes the issue. Thanks @twill88 for the fix! |
I am on a mac and getting this same error:
Then:
|
Fix #117 add dependency of tilt gem
When using guard-jasmine version 1.12.0 or greater, I receive the following error after running:
"ERROR - Could not load 'guard/jasmine' or '~/.guard/templates/jasmine' or find class Guard::Jasmine"
This is on windows 7. It is not a problem with earlier versions of guard-jasmine (I do not get the error with 1.11.1)
Here is my Gemfile:
The text was updated successfully, but these errors were encountered: