Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

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

Comments

Projects
None yet
2 participants

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 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

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.

Contributor

netzpirat commented Apr 3, 2013

No worries, I always like to help.

@netzpirat netzpirat closed this Apr 3, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment