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

Nils Riedemann nils.riedemann at gmail.com
Tue Aug 17 04:18:42 EDT 2010


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.)



More information about the rspec-users mailing list