My autotest runs but when I make changes to a spec it doesn''t reload. I checked another application I was building that had 1.0.9 but it was reloading fine. How would I debug a problem such as autotest not reloading? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/rspec-users/attachments/20070930/6be7160d/attachment.html
On 9/30/07, Andrew WC Brown <omen.king at gmail.com> wrote:> My autotest runs but when I make changes to a spec it doesn''t reload.Reload? Do you mean it doesn''t re-run that spec?> I checked another application I was building that had 1.0.9 but it was > reloading fine. > > How would I debug a problem such as autotest not reloading?If you''re working on a rails app, look at the mappings in vendor/plugins/rspec_on_rails/lib/autotest/rails_rspec.rb. If it''s any other kind of ruby app, then look at lib/autotest/rspec.rb in the rspec gem. Make sure that the path to the spec file is represented in the mappings.> > _______________________________________________ > rspec-users mailing list > rspec-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users >
On Sep 30, 2007, at 3:05 AM, Andrew WC Brown wrote:> My autotest runs but when I make changes to a spec it doesn''t reload. > I checked another application I was building that had 1.0.9 but it > was reloading fine. > > How would I debug a problem such as autotest not reloading?One way would be to run the debugger. escher: which autotest /sw/bin/autotest escher: rdebug /sw/bin/autotest /sw/bin/autotest:9 require ''rubygems'' (rdb:1) Scott
I reinstalled the plugins and generated rspec but still doesn''t work. On 9/30/07, Scott Taylor <mailing_lists at railsnewbie.com> wrote:> > > On Sep 30, 2007, at 3:05 AM, Andrew WC Brown wrote: > > > My autotest runs but when I make changes to a spec it doesn''t reload. > > I checked another application I was building that had 1.0.9 but it > > was reloading fine. > > > > How would I debug a problem such as autotest not reloading? > > One way would be to run the debugger. > > escher: which autotest > /sw/bin/autotest > > escher: rdebug /sw/bin/autotest > /sw/bin/autotest:9 require ''rubygems'' > (rdb:1) > > Scott > > _______________________________________________ > 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/20071001/d8550b9e/attachment.html
On 9/30/07, Andrew WC Brown <omen.king at gmail.com> wrote:> I reinstalled the plugins and generated rspec but still doesn''t work.What is the path to the spec that you''re changing?> > > On 9/30/07, Scott Taylor <mailing_lists at railsnewbie.com > wrote: > > > > On Sep 30, 2007, at 3:05 AM, Andrew WC Brown wrote: > > > > > My autotest runs but when I make changes to a spec it doesn''t reload. > > > I checked another application I was building that had 1.0.9 but it > > > was reloading fine. > > > > > > How would I debug a problem such as autotest not reloading? > > > > One way would be to run the debugger. > > > > escher: which autotest > > /sw/bin/autotest > > > > escher: rdebug /sw/bin/autotest > > /sw/bin/autotest:9 require ''rubygems'' > > (rdb:1) > > > > Scott > > > > _______________________________________________ > > 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 >