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:
Any ideas?
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:
Any ideas?
On Oct 31, 2007 11:34 AM, Steven G. [email protected] wrote:
Just upgraded to latest rails and rspec builds and my autotest doesnt
workundefined method `before’ for Spec::Rails::DSL::RailsExample:Class
(NoMethodError)Here’s the full trace:
script/generate rspec
I did that… still getting the same error
funky
Downgraded to Stable on both rspec and rails and its workin fine.
Weird spooky stuff goin on in that trunk!
On Oct 31, 2007 1:52 PM, Steven G. [email protected] 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 (Parked at Loopia) 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!
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
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs