Cucumber generator

I’m new to RSpec and Cucumber and I’m following the RSpec book.

I have cucumber gem installed but when I use script/generate cucumber it
responds with Couldn’t find ‘cucumber’ generator?


gem install cucumber-rails

In a recent release the generators were split from the main project.

Sent from my iPhone

On 13 Jan 2010, at 06:38, Onno van der Straaten
<[email protected]



Also you need to install webrat gem for cucumber generators to work.
If you use Ubuntu, make sure you got ‘libxslt-ruby’ and ‘libxslt1-dev’
packages installed.

On Jan 14, 1:16 am, Onno van der Straaten

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs