-
Notifications
You must be signed in to change notification settings - Fork 16
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
guard-jruby-rspec broken for latest guard/guard-rspec 2.2.2 #38
Comments
And the offending line is: |
Cool, can you submit a PR for this? I'll get it in ASAP and cut a release. |
OK, I had an initial go at this, but I'm going to step away. It seems that guard-rspec has also undergone a "compete rewrite", along with the changes in Guard 2.0. My current level of knowledge of guard-jruby-rspec and these projects is sufficiently low that I'm likely to do more harm than good by attempting a fix right now. I'll leave this to someone with more understanding! You can see the changes I made so far here: Here's what I discovered: Overview of Guard upgrade: Changes to Guard::Rspec: Guard::Rspec.run_all method logic has been pushed down into new Guard::RSpec::Runner.run_all method Guard::RSpec now uses run_on_modifications, not run_on_changes Not sure if Guard::JRubyRSpec::Formatters::NotificationRSpec is necessary any more. |
Hit this problem too. FWIW, the following allows me to work:
Hope that helps people use this gem until a better fix is worked out. |
+1 |
This error stil occurs in new version of guard |
guard is now locked at revision 2.0+, any other solution to use guard-jruby-rspec?? |
Having same issue as @vorakumar |
Locking the guard-rspec to an old version that still has guard 1.8 as a dependency seems to work as a workaround:
|
guard-rspec 3.0.3 requires rspec 2. Since we've updated to rspec 3, I think I'll have to address this now. Thank you @greghuc for your initial attempt and for reporting back. |
I am implementing this in an rspec3 branch. Todo:
|
I got about as far in my rspec3 branch as greghuc did earlier when I found an easier way to support RSpec 3, which is my real goal. Updating is not straightforward, and someone still needs to address this. I'm opening #40 to address rspec 3 support. |
Hi there,
Upgrading guard to latest 2.2.2 breaks guard-jruby-rspec, which fails on 'guard' startup. Error message:
19:23:42 - ERROR - Invalid Guardfile, original error is:
Root cause is recent change to Guard::RSpec initializer, removing parameters:
https://github.com/guard/guard-rspec/blob/master/lib/guard/rspec.rb#L11
Cheers
Greg
The text was updated successfully, but these errors were encountered: