[rspec-users] Autotest doesn't load up rspec (rspec2, rails3, ruby 1.9.2)

David Chelimsky dchelimsky at gmail.com
Wed Aug 18 01:29:24 EDT 2010


On Aug 17, 2010, at 3:18 AM, Nils Riedemann wrote:

> Hi there,
> 
> When i run `rspec --drb spec` everything works fine. Yet, when i want
> to use `autotest` it outputs the following:
> 
>    ~/code/ffr[master]% autotest
>    /Users/nilsriedemann/.rvm/rubies/ruby-1.9.2-rc2/lib/ruby/1.9.1/
> rubygems.rb:1051: warning: method redefined; discarding old gem
>    <internal:gem_prelude>:15: warning: previous definition of gem was
> here
>    loading autotest/rails
> 
> The contents of my ./autotest/discover.rb:
> 
>    Autotest.add_discovery { "rspec2" }
>    Autotest.add_discovery { "rails" }
> 
> 
> (btw: `autospec` does not work at all… but that's a different story i
> think.)

Autospec is gone. See http://blog.davidchelimsky.net/2010/03/15/rspec-2-and-autotest/.

Have you installed the autotest-rails gem? What's in your Gemfile?



More information about the rspec-users mailing list