Cucumber weird errors
today when I was running my cuke features on a Rails app I had exactly the same problem you had.
undefined method `match’ for #<Array:> (NoMethodError)
This was a fresh install, the same features were running fine on my office workstation.
These are the gems of my Rails (2.3.4) app [1]:
And after two hours of hammering my head, and right before deciding to stop working in IT and open a bar on a lonely beach on a remote island… I found out that the error was caused by:
rack (1.2.1)
rolling it back to rack 1.0 (and even 1.0.1) solved the problem for me.
[1]
autotest (4.4.6)
autotest-growl (0.2.9)
builder (3.0.0)
columnize (0.3.2)
cucumber (0.6.2)
cucumber-rails (0.2.4)
database_cleaner (0.4.3)
diff-lcs (1.1.2)
factory_girl (1.2.3)
faker (0.3.1)
fakeweb (1.3.0)
gherkin (2.3.2)
json (1.4.6)
json_pure (1.4.6)
linecache (0.43)
mysql (2.8.1)
newrelic_rpm (2.13.4)
nokogiri (1.4.4)
polyglot (0.3.1)
rack (1.1.0)
rack-test (0.5.3)
rake (0.8.7)
RedCloth (4.2.3)
rspec (1.3.0)
rspec-core (2.3.1)
rspec-expectations (2.3.0)
rspec-mocks (2.3.0)
rspec-rails (1.3.2)
ruby-debug (0.10.4)
ruby-debug-base (0.10.4)
term-ansicolor (1.0.5)
timecop (0.3.5)
treetop (1.4.9)
webrat (0.7.0)
ZenTest (4.4.2)