Chris Habgood
2011-Aug-29 02:36 UTC
[rspec-users] rails 3.1 with guard, not detecting changes
I am using guard to detect changes and run rspec automatically. It doe snot seem to see my changes in a model when guard is run. When I run "rake spec" from the cli rspec runs fine. Does anyone know why this might be happening? -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/rspec-users/attachments/20110828/cb89a3a5/attachment-0001.html>
Tim Gremore
2011-Sep-01 14:58 UTC
[rspec-users] rails 3.1 with guard, not detecting changes
Have you added any of the available Guards (guard-rails) to your project? https://github.com/guard/guard/wiki/List-of-available-Guards On Sun, Aug 28, 2011 at 9:36 PM, Chris Habgood <chabgood at gmail.com> wrote:> I am using guard to detect changes and run rspec automatically. It doe > snot seem to see my changes in a model when guard is run. When I run "rake > spec" from the cli rspec runs fine. Does anyone know why this might be > happening? > > _______________________________________________ > rspec-users mailing list > rspec-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/rspec-users/attachments/20110901/78559e3d/attachment.html>
Chris Habgood
2011-Sep-01 16:35 UTC
[rspec-users] rails 3.1 with guard, not detecting changes
Yes I needed to run the guard with bundle exec. On Thu, Sep 1, 2011 at 09:58, Tim Gremore <timgremore at gmail.com> wrote:> Have you added any of the available Guards (guard-rails) to your project? > https://github.com/guard/guard/wiki/List-of-available-Guards > > On Sun, Aug 28, 2011 at 9:36 PM, Chris Habgood <chabgood at gmail.com> wrote: > >> I am using guard to detect changes and run rspec automatically. It doe >> snot seem to see my changes in a model when guard is run. When I run "rake >> spec" from the cli rspec runs fine. Does anyone know why this might be >> happening? >> >> _______________________________________________ >> rspec-users mailing list >> rspec-users at rubyforge.org >> http://rubyforge.org/mailman/listinfo/rspec-users >> > > > > _______________________________________________ > rspec-users mailing list > rspec-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users >-- *"In matters of style, swim with the current; in matters of principle, stand like a rock." Thomas Jefferson * -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/rspec-users/attachments/20110901/36948efd/attachment.html>