Skip to content
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

Not working on Ruby 1.8.7 #411

Closed
martinos opened this issue Apr 3, 2013 · 4 comments
Closed

Not working on Ruby 1.8.7 #411

martinos opened this issue Apr 3, 2013 · 4 comments

Comments

@martinos
Copy link

martinos commented Apr 3, 2013

I don't know where the problem is located guard or guard-minitest, but I can't get my guarded app to trigger test on file changes on Ruby 1.8.7. I am running on OS X, and I use minitest spec. Note that it works fine on Ruby 1.9.3

The problem is easy to reproduce with my rubyc gem:
$ rvm 1.8.7
$ git clone git@github.com:martinos/rubyc.git
$ cd rubyc
$ bundle
$ bundle exec guard

And change any spec file

@martinos
Copy link
Author

martinos commented Apr 3, 2013

I think that the issue might be in guard since I tried it with guard-test and I have got the same issue. Here is a sample app that reproduce the issue:
https://github.com/martinos/test_guard
$ rvm 1.8.7
$ git clone https://github.com/martinos/test_guard
$ bundle install
$ bundle exec guard

Change the test/coco_test.rb

Note that the problem exist since Guard 1.5, it might be related with the pry interface. So for anyone that gets this issue, they should force their Gemfile to use guard 1.4.0

@netzpirat
Copy link
Contributor

@martinos
Copy link
Author

martinos commented Apr 3, 2013

I though that I had It but it was on another patch version of ruby that I had in rvm. I changed version and it worked.

Thanks again, for your help I should have reread the README.

@netzpirat
Copy link
Contributor

No worries, I always like to help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants