Cucumberのfeatureを実行すると、上記のエラーが出て困ったので探したら
I resolved it by uninstalling the old "bryanary-webrat" gem and making sure that "webrat" was up to date (0.4.3)
When you have both installed, ruby tends to load the old one instead.
http://groups.google.com/group/webrat/browse_thread/thread/d8ea685a1b1931a5#
古いwebrat gemを消しなさいと。
shell>>
gem search webrat
*** LOCAL GEMS ***
aslakhellesoy-webrat (0.3.2.2)
webrat (0.4.4, 0.4.3, 0.3.4)
<<--
案の定古いwebratがあったのでaslakhellesoy-webratをuninstallしたら動きました!
posted by
satoko on Tue 14 Apr 2009 at 15:15 with 0 comments