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 :-)

Popular Posts