netzpirat/guard-cucumber — Issue #20: rerun.txt
Author: crystalin
Created: 2011-10-14 09:17:13+00:00
State: open

Hi. I'm sharing folders between windows and linux and when using guard-cucumber I get this error:

ERROR: Guard::Cucumber failed to achieve its , exception was:
Errno::ETXTBSY: Text file busy - rerun.txt
.../guard-cucumber-0.7.2/lib/guard/cucumber.rb:114:in `delete'
.../guard-cucumber-0.7.2/lib/guard/cucumber.rb:114:in `read_failed_features'
.../guard-cucumber-0.7.2/lib/guard/cucumber.rb:60:in `run_all'
...

Guard::Cucumber has just been fired
(running a `rm rerun.txt` is working fine)

It can be avoided using :keep_failed => false, but I'd be cool if we can fix it.