Search code examples
ruby-on-railsrubywindowsrspecguard

rails guard not working on windows


I'm not quite a "windows lover" and I'm having some issue here with guard and the command line.

I already installed guard-rspec via bundle, but when I try to use it in CMD like this:

guard init rspec

it says guard is not recognized as an internal or external command etc. Just like when something is not on the system path.

But as I said I don't know too much about windows issues.

Does anybody know something about it? Thanks in advance.


Solution

  • I think you need to execute:

    bundle exec guard