Hi thanks for the response
Here is the backtrace
$ cucumber --backtrace
undefined local variable or method `capture_model' for main:Object
(NameError)
./features/step_definitions/pickle_steps.rb:4
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`polyglot_original_require'
/usr/lib/ruby/gems/1.8/gems/polyglot-0.2.9/lib/polyglot.rb:70:in
`require'
/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/
dependencies.rb:158:in `require'
/usr/lib/ruby/gems/1.8/gems/cucumber-0.4.4/bin/../lib/cucumber/
rb_support/rb_language.rb:124:in `load_code_file'
/usr/lib/ruby/gems/1.8/gems/cucumber-0.4.4/bin/../lib/cucumber/
step_mother.rb:84:in `load_code_file'
/usr/lib/ruby/gems/1.8/gems/cucumber-0.4.4/bin/../lib/cucumber/
step_mother.rb:76:in `load_code_files'
/usr/lib/ruby/gems/1.8/gems/cucumber-0.4.4/bin/../lib/cucumber/
step_mother.rb:75:in `each'
/usr/lib/ruby/gems/1.8/gems/cucumber-0.4.4/bin/../lib/cucumber/
step_mother.rb:75:in `load_code_files'
/usr/lib/ruby/gems/1.8/gems/cucumber-0.4.4/bin/../lib/cucumber/cli/
main.rb:50:in `execute!'
/usr/lib/ruby/gems/1.8/gems/cucumber-0.4.4/bin/../lib/cucumber/cli/
main.rb:24:in `execute'
/usr/lib/ruby/gems/1.8/gems/cucumber-0.4.4/bin/cucumber:8
/usr/bin/cucumber:19:in `load'
/usr/bin/cucumber:19
./features/support/hooks.rb:16: You have a nil object when you didn't
expect it! (NoMethodError)
The error occurred while evaluating nil.exit
from /usr/bin/cucumber:19
Peter
On Nov 24, 5:19Â pm, Ben Lovell <
benjamin.lov...@gmail.com> wrote:
> 2009/11/24 Matt Wynne <
m...@mattwynne.net>