Just upgraded to latest rails and rspec builds and my autotest doesnt work undefined method `before'' for Spec::Rails::DSL::RailsExample:Class (NoMethodError) Here''s the full trace: http://pastie.caboo.se/112754 Any ideas? -- Posted via http://www.ruby-forum.com/.
David Chelimsky
2007-Oct-31 16:54 UTC
[rspec-users] Autotest busted with Rspec/Rails trunk
On Oct 31, 2007 11:34 AM, Steven Garcia <lists at ruby-forum.com> wrote:> Just upgraded to latest rails and rspec builds and my autotest doesnt > work > > undefined method `before'' for Spec::Rails::DSL::RailsExample:Class > (NoMethodError) > > Here''s the full trace: > > http://pastie.caboo.se/112754script/generate rspec
I did that.. still getting the same error funky -- Posted via http://www.ruby-forum.com/.
Downgraded to Stable on both rspec and rails and its workin fine. Weird spooky stuff goin on in that trunk! -- Posted via http://www.ruby-forum.com/.
David Chelimsky
2007-Oct-31 19:03 UTC
[rspec-users] Autotest busted with Rspec/Rails trunk
On Oct 31, 2007 1:52 PM, Steven Garcia <lists at ruby-forum.com> wrote:> Downgraded to Stable on both rspec and rails and its workin fine. > > Weird spooky stuff goin on in that trunk!Looking back at your pastie (http://pastie.caboo.se/112754) I see the problem. There are references to two different rspecs: /usr/local/lib/ruby/gems/1.8/gems/rspec-1.0.8/bin/spec /Users/home/Desktop/ssl/vendor/plugins/rspec_on_rails/lib/spec/rails/dsl/behaviour/rails_example.rb Do you have both rspec and rspec_on_rails installed in vendor/plugins?
Argh... dont know how I missed something so obvious. I reinstalled both from trunk and autotest is bouncing along as usual. Thanks for the assist! -- Posted via http://www.ruby-forum.com/.
One final note.. autotest is working fine, but when I quit, I get a bunch of Zentest errors. Not a big deal, but worth noting: /usr/local/lib/ruby/gems/1.8/gems/ZenTest-3.6.0/lib/autotest.rb:242:in `add_sigint_handler'': Interrupt (Interrupt) from /usr/local/lib/ruby/1.8/find.rb:43:in `call'' from /usr/local/lib/ruby/1.8/find.rb:43:in `find'' from /usr/local/lib/ruby/1.8/find.rb:38:in `catch'' from /usr/local/lib/ruby/1.8/find.rb:38:in `find'' from /usr/local/lib/ruby/gems/1.8/gems/ZenTest-3.6.0/lib/autotest.rb:287:in `find_files'' from /usr/local/lib/ruby/gems/1.8/gems/ZenTest-3.6.0/lib/autotest.rb:306:in `find_files_to_test'' from /usr/local/lib/ruby/gems/1.8/gems/ZenTest-3.6.0/lib/autotest.rb:373:in `reset'' from /usr/local/lib/ruby/gems/1.8/gems/ZenTest-3.6.0/lib/autotest.rb:180:in `run'' from /usr/local/lib/ruby/gems/1.8/gems/ZenTest-3.6.0/lib/autotest.rb:167:in `loop'' from /usr/local/lib/ruby/gems/1.8/gems/ZenTest-3.6.0/lib/autotest.rb:167:in `run'' from /usr/local/lib/ruby/gems/1.8/gems/ZenTest-3.6.0/lib/autotest.rb:123:in `run'' from /usr/local/lib/ruby/gems/1.8/gems/ZenTest-3.6.0/bin/autotest:48 from /usr/local/bin/autotest:16:in `load'' from /usr/local/bin/autotest:16 -- Posted via http://www.ruby-forum.com/.