[rspec-users] undefined method `autorun' for Spec::Runner:Module (NoMethodError)?

nnn g.zhen.ning at gmail.com
Fri Jul 10 02:06:23 EDT 2009


/home/jack/vendor/plugins/rspec/lib/spec/autorun.rb:3: undefined
method `autorun' for Spec::Runner:Module (NoMethodError)
	from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
	from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in
`require'
	from /home/jack/vendor/rails/activesupport/lib/active_support/
dependencies.rb:158:in `require'



when I switch to  spec/model and run spec admin_spec.rb
it throw me a error like this, so how to deal with it?



More information about the rspec-users mailing list