Uninitialized constant Win32 (NameError)-cucumber

I confronted the error whenever I was trying to run, for my new rails 3.0 app in Windows 7
>> rake cucumber
The error looked like
>>uninitialized constant Win32 (NameError)

Solved by installing the following gem, adding the line in the gemfile

gem 'win32console'

Go to your app directory and execute  >> bundle

That's it !! I am able to run the cucmber now :-)


Anonymous said…
Cool, worked for me too. Thanks!
Carol said…
Thank you! This was my exact problem as well.
Anonymous said…
Thanks very much! Worked for me.

Popular Posts