[rspec-users] Errors when running AUTOFEATURE=true autospec [cucumber, autotest]

Andy Pearson andy.james.pearson at googlemail.com
Fri Jul 24 17:33:03 EDT 2009


Hey List,

Hope all is well, I haven't been keeping up with the list whilst I  
wasn't doing much Rails work but I'm back in the game and looking  
forward to seeing how far things have progressed!

I think I have probably mentioned this already on the list, but just  
to reiterate: I am a beginner!

I have installed the new Rspec and Cucumber for use with Rails, and  
did what needed to be done to update libxml2 for use with nokogiri and  
updated to the latest ZenTest but I am still seeing the following  
stack trace when running `AUTOFEATURE=true autospec`

Warning: $KCODE is NONE.
/Library/Ruby/Gems/1.8/gems/cucumber-0.3.90/lib/cucumber/ 
step_definition.rb:100: warning: method redefined; discarding old regexp
/Library/Ruby/Gems/1.8/gems/treetop-1.3.0/lib/treetop/ruby_extensions/ 
string.rb:31: warning: method redefined; discarding old indent
/Library/Ruby/Gems/1.8/gems/treetop-1.3.0/lib/treetop/compiler/ 
node_classes/character_class.rb:13: warning: useless use of a literal  
in void context
/Library/Ruby/Gems/1.8/gems/treetop-1.3.0/lib/treetop/compiler.rb:5:  
warning: global variable `$exclude_metagrammar' not initialized
/Library/Ruby/Gems/1.8/gems/treetop-1.3.0/lib/treetop/compiler/ 
metagrammar.rb:232: warning: method redefined; discarding old space
/Library/Ruby/Gems/1.8/gems/treetop-1.3.0/lib/treetop/compiler/ 
metagrammar.rb:388: warning: method redefined; discarding old space
/Library/Ruby/Gems/1.8/gems/treetop-1.3.0/lib/treetop/compiler/ 
metagrammar.rb:771: warning: method redefined; discarding old space
/Library/Ruby/Gems/1.8/gems/treetop-1.3.0/lib/treetop/compiler/ 
metagrammar.rb:779: warning: method redefined; discarding old space
/Library/Ruby/Gems/1.8/gems/cucumber-0.3.90/lib/cucumber/parser/ 
feature.rb:28: warning: method redefined; discarding old white
/Library/Ruby/Gems/1.8/gems/cucumber-0.3.90/lib/cucumber/parser/ 
feature.rb:36: warning: method redefined; discarding old white
/Library/Ruby/Gems/1.8/gems/cucumber-0.3.90/lib/cucumber/parser/ 
feature.rb:679: warning: method redefined; discarding old white
/Library/Ruby/Gems/1.8/gems/cucumber-0.3.90/lib/cucumber/parser/ 
feature.rb:687: warning: method redefined; discarding old white
/Library/Ruby/Gems/1.8/gems/cucumber-0.3.90/lib/cucumber/parser/ 
feature.rb:813: warning: method redefined; discarding old white
/Library/Ruby/Gems/1.8/gems/cucumber-0.3.90/lib/cucumber/parser/ 
feature.rb:825: warning: method redefined; discarding old white
/Library/Ruby/Gems/1.8/gems/activesupport-2.3.3/lib/active_support/ 
core_ext/blank.rb:49: warning: method redefined; discarding old blank?

Is this something to be concerned about? The feature examples still  
seem to run but I'm not sure whether I will get problems down the line.

Thanks for any help you can offer,

Andy



More information about the rspec-users mailing list