# Rake cucumber features fails

**URL:** <https://www.ruby-forum.com/t/rake-cucumber-features-fails/181878>\
**Category:** Rails\
**Created:** [January 19, 2010, 5:33pm UTC](https://www.ruby-forum.com/t/rake-cucumber-features-fails/181878 "2010-01-19T17:33:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rorra](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/df788c/32.png) [@rorra](https://www.ruby-forum.com/u/rorra)\
**Post date:** [January 19, 2010, 5:33pm UTC](https://www.ruby-forum.com/t/rake-cucumber-features-fails/181878/1 "2010-01-19T17:33:40Z")

</div>

Hey Guys,

Ubuntu 9.10

Env: Ruby 1.9.1  
Rails 2.3.5  
RSpec 1.3.1  
Cucumber 0.6.1  
Cucumber-rails 0.2.3

I’m starting with BDD with Cucumber/RSpec.

After creating a rails app, I did script/generate rspec and cucumber.

First problem, I can’t run cucumber by its own, as Ryan B. does in  
his  
screencast.  
He freely runs “cucumber features -n” while I need to run “rake cucumber  
features -n”

What do I need to do, to have cucumber be called by rake without  
explicit  
telling rake to do it?

Second problem, when I try to run rake cucumber, it fails telling me  
that it  
requires “RubyGem test-unit \>= 1.2.3”  
Is it really? do I need to have this gem installed? The current  
test-unit is  
2.0.6.

thx!  
[]'s  
Rodrigo D.
