[rspec-users] Cucumber: dependencies.rb:266:in `load_missing_constant': uninitialized constant Dispatcher

s.ross cwdinfo at gmail.com
Tue Dec 23 14:42:54 EST 2008


I'm running into a problem getting any results from Cucumber at this  
point. I was able to a while ago, but I upgraded to Rails 2.2.2 and  
poof! No Cucumber. Any thoughts what might be wrong?

Rails 2.2.2
Cucumber 0.1.13
Webrat aslakhellesoy-webrat (0.3.2.1)
rspec (1.1.11)
rspec-rails (1.1.11)

All are installed as gems and there are no traces in vendor/plugins.

Stack trace included in case it provides extra info...thanks!

vendor/rails/activerecord/lib/../../activesupport/lib/active_support/ 
dependencies.rb:266:in `load_missing_constant': uninitialized constant  
Dispatcher (NameError)
	from /Users/sxross/rails/fly/vendor/rails/activerecord/lib/../../ 
activesupport/lib/active_support/dependencies.rb:453:in `const_missing'
	from /Users/sxross/rails/fly/vendor/rails/activerecord/lib/../../ 
activesupport/lib/active_support/dependencies.rb:465:in `const_missing'
	from /opt/local/lib/ruby/gems/1.8/gems/cucumber-0.1.13/bin/../lib/ 
cucumber/rails/world.rb:18
	from /opt/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb: 
31:in `gem_original_require'
	from /opt/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb: 
31:in `require'
	from /Users/sxross/rails/fly/vendor/rails/activerecord/lib/../../ 
activesupport/lib/active_support/dependencies.rb:495:in `require'
	from /Users/sxross/rails/fly/vendor/rails/activerecord/lib/../../ 
activesupport/lib/active_support/dependencies.rb:342:in  
`new_constants_in'
	from /Users/sxross/rails/fly/vendor/rails/activerecord/lib/../../ 
activesupport/lib/active_support/dependencies.rb:495:in `require'
	from ./features/support/env.rb:4
	from /opt/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb: 
31:in `gem_original_require'
	from /opt/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb: 
31:in `require'
	from /opt/local/lib/ruby/gems/1.8/gems/cucumber-0.1.13/bin/../lib/ 
cucumber/cli.rb:230:in `require_files'
	from /opt/local/lib/ruby/gems/1.8/gems/cucumber-0.1.13/bin/../lib/ 
cucumber/cli.rb:228:in `each'
	from /opt/local/lib/ruby/gems/1.8/gems/cucumber-0.1.13/bin/../lib/ 
cucumber/cli.rb:228:in `require_files'
	from /opt/local/lib/ruby/gems/1.8/gems/cucumber-0.1.13/bin/../lib/ 
cucumber/cli.rb:152:in `execute!'
	from /opt/local/lib/ruby/gems/1.8/gems/cucumber-0.1.13/bin/../lib/ 
cucumber/cli.rb:13:in `execute'
	from /opt/local/lib/ruby/gems/1.8/gems/cucumber-0.1.13/bin/cucumber:6



More information about the rspec-users mailing list