On Jul 24, 2009, at 4:33 PM, Andy Pearson <andy.james.pear...@googlemail.com > wrote:

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.

I have no idea about this one offhand.

/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?


The rest of these suggest that the same code is getting loaded twice, which could be due to using load instead of require or require statements that use relative paths instead of using expand_path or relying on the load path.

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,

I'd also run this by the cucumber group at http://groups.google.com/group/cukes .

Cheers,
David


Andy

_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to