2009-08-22 58 views
1

我有黃瓜功能工作正常和rspec規範工作正常我可以同時運行黃瓜功能和規範規範,他們都工作,但現在我看着讓autospec運行,但運行產生以下autospec與黃瓜在rails應用程序

警告:$ KCODE是NONE。 /opt/local/lib/ruby/gems/1.8/gems/cucumber-0.3.90/lib/cucumber/step_definition.rb:100:warning:method redefined;丟棄舊的正則表達式 /opt/local/lib/ruby/gems/1.8/gems/treetop-1.2.6/lib/treetop/ruby_extensions/string.rb:31:warning:method redefined;丟棄舊縮進 /opt/local/lib/ruby/gems/1.8/gems/treetop-1.2.6/lib/treetop/compiler/node_classes/character_class.rb:13:警告:在無效的情況下無用的文字 /opt/local/lib/ruby/gems/1.8/gems/treetop-1.2.6/lib/treetop/compiler.rb:5:warning:全局變量`$ exclude_metagrammar'未初始化 /opt/local/lib/ruby /gems/1.8/gems/treetop-1.2.6/lib/treetop/compiler/metagrammar.rb:232:warning:method redefined;丟棄舊空間 /opt/local/lib/ruby/gems/1.8/gems/treetop-1.2.6/lib/treetop/compiler/metagrammar.rb:388:warning:method redefined;丟棄舊空間 /opt/local/lib/ruby/gems/1.8/gems/treetop-1.2.6/lib/treetop/compiler/metagrammar.rb:771:warning:method redefined;丟棄舊空間 /opt/local/lib/ruby/gems/1.8/gems/treetop-1.2.6/lib/treetop/compiler/metagrammar.rb:779:warning:method redefined;丟棄舊空間 /opt/local/lib/ruby/gems/1.8/gems/cucumber-0.3.90/lib/cucumber/parser/feature.rb:28:warning:method redefined;丟棄舊的白色 /opt/local/lib/ruby/gems/1.8/gems/cucumber-0.3.90/lib/cucumber/parser/feature.rb:36:warning:method redefined;丟棄舊的白色 /opt/local/lib/ruby/gems/1.8/gems/cucumber-0.3.90/lib/cucumber/parser/feature.rb:679:warning:method redefined;丟棄舊白色 /opt/local/lib/ruby/gems/1.8/gems/cucumber-0.3.90/lib/cucumber/parser/feature.rb:687:warning:method redefined;丟棄舊的白色 /opt/local/lib/ruby/gems/1.8/gems/cucumber-0.3.90/lib/cucumber/parser/feature.rb:813:warning:method redefined;丟棄舊白色 /opt/local/lib/ruby/gems/1.8/gems/cucumber-0.3.90/lib/cucumber/parser/feature.rb:825:warning:method redefined;丟棄舊白色 /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.3.3/lib/active_support/core_ext/blank.rb:49:警告:重新定義了方法;丟棄舊的空白?

進出口運行AUTOFEATURE =真autospec

是有一個解決方案

歡呼

回答

0

我曾在.autotest文件壞事如此我清除它,現在一切正常

1
$KCODE = 'U' 

,並把這個文件.autotest