LRDesign/rspec-steps — Issue #4: uninitialized constant RSpec::Core::ExampleGroup::MetadataHashBuilder
Author: wulftone
Created: 2012-01-10 03:45:16+00:00
State: open

I *love* the concept of this gem! I don't like that cucumber steps are globally available to all cucumber features, thus I came looking for a solution like this.... It doesn't run, though. Here's what I get:

$ bundle exec rake spec:request --trace
rake aborted!
uninitialized constant RSpec::Core::ExampleGroup::MetadataHashBuilder
/home/trevor/.rvm/gems/ruby-1.9.2-p290/gems/rspec-core-2.6.4/lib/rspec/core/example_group.rb:4:in `'
/home/trevor/.rvm/gems/ruby-1.9.2-p290/gems/rspec-core-2.6.4/lib/rspec/core/example_group.rb:3:in `'
/home/trevor/.rvm/gems/ruby-1.9.2-p290/gems/rspec-core-2.6.4/lib/rspec/core/example_group.rb:2:in `'
/home/trevor/.rvm/gems/ruby-1.9.2-p290/gems/rspec-core-2.6.4/lib/rspec/core/example_group.rb:1:in `'
/home/trevor/.rvm/gems/ruby-1.9.2-p290/bundler/gems/rspec-steps-8911ed644d53/lib/rspec-steps/duckpunch/example-group.rb:1:in `'
/home/trevor/.rvm/gems/ruby-1.9.2-p290/bundler/gems/rspec-steps-8911ed644d53/lib/rspec-steps/duckpunch/object-extensions.rb:1:in `'
/home/trevor/.rvm/gems/ruby-1.9.2-p290/bundler/gems/rspec-steps-8911ed644d53/lib/rspec-steps.rb:1:in `'
/home/trevor/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.0.18/lib/bundler/runtime.rb:68:in `require'
/home/trevor/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.0.18/lib/bundler/runtime.rb:68:in `block (2 levels) in require'
/home/trevor/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.0.18/lib/bundler/runtime.rb:66:in `each'
/home/trevor/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.0.18/lib/bundler/runtime.rb:66:in `block in require'
/home/trevor/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.0.18/lib/bundler/runtime.rb:55:in `each'
/home/trevor/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.0.18/lib/bundler/runtime.rb:55:in `require'
/home/trevor/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.0.18/lib/bundler.rb:120:in `require'
/home/trevor/work/yc/config/application.rb:7:in `'
/home/trevor/work/yc/Rakefile:5:in `require'
/home/trevor/work/yc/Rakefile:5:in `'
/home/trevor/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2/lib/rake/rake_module.rb:25:in `load'
/home/trevor/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2/lib/rake/rake_module.rb:25:in `load_rakefile'
/home/trevor/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2/lib/rake/application.rb:495:in `raw_load_rakefile'
/home/trevor/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2/lib/rake/application.rb:78:in `block in load_rakefile'
/home/trevor/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2/lib/rake/application.rb:129:in `standard_exception_handling'
/home/trevor/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2/lib/rake/application.rb:77:in `load_rakefile'
/home/trevor/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2/lib/rake/application.rb:61:in `block in run'
/home/trevor/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2/lib/rake/application.rb:129:in `standard_exception_handling'
/home/trevor/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2/lib/rake/application.rb:59:in `run'
/home/trevor/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2/bin/rake:32:in `'
/home/trevor/.rvm/gems/ruby-1.9.2-p290/bin/rake:19:in `load'
/home/trevor/.rvm/gems/ruby-1.9.2-p290/bin/rake:19:in `

'

I had the same problem running it with `spork`, but with a different trace, obviously.