[rspec-devel] rake pre_commit fails

Jeremy Stephens jeremy.stephens at vanderbilt.edu
Tue Dec 18 16:53:09 EST 2007


Hey guys,

I just checked out the repository because I want to write a patch for 
the rails plugin.  I followed the instructions to get my development 
environment setup, but when I ran 'rake pre_commit', it failed.

./examples/stories/game-of-life/behaviour/stories/steps.rb:1: 
undefined method `steps_for' for main:Object (NoMethodError)        
from /home/foo/projects/rspec/rspec/lib/spec/runner/example_group_runner.rb:14:in 
`load'      
from /home/foo/projects/rspec/rspec/lib/spec/runner/example_group_runner.rb:14:in 
`load_files'        
from /home/foo/projects/rspec/rspec/lib/spec/runner/example_group_runner.rb:13:in 
`each' 
from /home/foo/projects/rspec/rspec/lib/spec/runner/example_group_runner.rb:13:in 
`load_files' 
from /home/foo/projects/rspec/rspec/lib/spec/runner/options.rb:83:in 
`run_examples' 
from /home/foo/projects/rspec/rspec/lib/spec/runner/command_line.rb:19:in 
`run'
from /home/foo/projects/rspec/rspec/bin/spec:3

Did I set something up incorrectly?

TIA,
Jeremy
-- 
Jeremy Stephens   Computer Systems Analyst I    School of Medicine
                  Department of Biostatistics   Vanderbilt University


More information about the rspec-devel mailing list