Hi all, David, before I begin, thanks for your hard work :) I saw a thread or a blog post, I think it was on your site David, that Autotest is not working with Rails at the moment, circa beta4. Has that since changed? If not, anything I can do to help? At least on beta6 it still seems to be failing with: $ autotest loading autotest/rails /Users/mikel/.rvm/gems/ruby-1.8.7-p249 at t/gems/ZenTest-4.3.1/lib/autotest.rb:181:in `load'': no such file to load -- ./.autotest (LoadError) from /Users/mikel/.rvm/gems/ruby-1.8.7-p249 at t/gems/ZenTest-4.3.1/lib/autotest.rb:181:in `initialize'' from /Users/mikel/.rvm/gems/ruby-1.8.7-p249 at t/gems/ZenTest-4.3.1/lib/autotest.rb:180:in `each'' from /Users/mikel/.rvm/gems/ruby-1.8.7-p249 at t/gems/ZenTest-4.3.1/lib/autotest.rb:180:in `initialize'' from /Users/mikel/.rvm/gems/ruby-1.8.7-p249 at t/gems/autotest-rails-4.1.0/lib/autotest/rails.rb:7:in `initialize'' from /Users/mikel/.rvm/gems/ruby-1.8.7-p249 at t/gems/ZenTest-4.3.1/lib/autotest.rb:124:in `new'' from /Users/mikel/.rvm/gems/ruby-1.8.7-p249 at t/gems/ZenTest-4.3.1/lib/autotest.rb:124:in `run'' from /Users/mikel/.rvm/gems/ruby-1.8.7-p249 at t/gems/ZenTest-4.3.1/bin/autotest:55 relevant gem list: autotest-rails (4.1.0) rspec-core (2.0.0.beta.6) rspec-expectations (2.0.0.beta.6) rspec-mocks (2.0.0.beta.6) ZenTest (4.3.1) Autotest file: $ cat .autotest/discover.rb Autotest.add_discovery { "rspec2" }
On Apr 14, 2010, at 7:37 AM, Mikel Lindsaar wrote:> Hi all, > > David, before I begin, thanks for your hard work :) > > I saw a thread or a blog post, I think it was on your site David, that Autotest is not working with Rails at the moment, circa beta4. > > Has that since changed? If not, anything I can do to help? > > At least on beta6 it still seems to be failing with: > > $ autotest > loading autotest/rails > /Users/mikel/.rvm/gems/ruby-1.8.7-p249 at t/gems/ZenTest-4.3.1/lib/autotest.rb:181:in `load'': no such file to load -- ./.autotest (LoadError) > from /Users/mikel/.rvm/gems/ruby-1.8.7-p249 at t/gems/ZenTest-4.3.1/lib/autotest.rb:181:in `initialize'' > from /Users/mikel/.rvm/gems/ruby-1.8.7-p249 at t/gems/ZenTest-4.3.1/lib/autotest.rb:180:in `each'' > from /Users/mikel/.rvm/gems/ruby-1.8.7-p249 at t/gems/ZenTest-4.3.1/lib/autotest.rb:180:in `initialize'' > from /Users/mikel/.rvm/gems/ruby-1.8.7-p249 at t/gems/autotest-rails-4.1.0/lib/autotest/rails.rb:7:in `initialize'' > from /Users/mikel/.rvm/gems/ruby-1.8.7-p249 at t/gems/ZenTest-4.3.1/lib/autotest.rb:124:in `new'' > from /Users/mikel/.rvm/gems/ruby-1.8.7-p249 at t/gems/ZenTest-4.3.1/lib/autotest.rb:124:in `run'' > from /Users/mikel/.rvm/gems/ruby-1.8.7-p249 at t/gems/ZenTest-4.3.1/bin/autotest:55 > > > relevant gem list: > > autotest-rails (4.1.0) > rspec-core (2.0.0.beta.6) > rspec-expectations (2.0.0.beta.6) > rspec-mocks (2.0.0.beta.6) > ZenTest (4.3.1) > > > Autotest file: > > $ cat .autotest/discover.rb > Autotest.add_discovery { "rspec2" }Hi Mikel, I''m having success with it. Take a look at http://gist.github.com/365816 - anything you''re missing there? Cheers, David -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/rspec-users/attachments/20100414/372d513d/attachment.html>
On 14, April 2010, at 14 Apr 23:37, David Chelimsky wrote:> On Apr 14, 2010, at 7:37 AM, Mikel Lindsaar wrote: >> I saw a thread or a blog post, I think it was on your site David, that Autotest is not working with Rails at the moment, circa beta4. > I''m having success with it. Take a look at http://gist.github.com/365816 - anything you''re missing there?Hi David, Two things I had wrong: 1) I wasn''t installing autotest as a gem 2) I was installing rspec-rails from git instead of from a gem 3) I had ./.autotest/discover.rb instead of ./autotest/discover.rb I blame it on a late night :) One thing though, running rspec-rails from :git would not run, giving: $ autotest loading autotest/rails_rspec2 Error loading Autotest style autotest/rails_rspec2 (no such file to load -- autotest/rails_rspec2). Aborting. Changing the Gemfile to use ">= 2.0.0.beta" fixed it. Thanks :) Mikel http://rubyx.com/ http://lindsaar.net/ -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/rspec-users/attachments/20100415/ba7abcc8/attachment-0001.html>