# A problem with my cucumber

**URL:** <https://www.ruby-forum.com/t/a-problem-with-my-cucumber/164763>\
**Category:** Rails\
**Created:** [April 5, 2009, 2:40pm UTC](https://www.ruby-forum.com/t/a-problem-with-my-cucumber/164763 "2009-04-05T14:40:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![gavin](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/439d5e/32.png) [@gavin](https://www.ruby-forum.com/u/gavin)\
**Post date:** [April 5, 2009, 2:40pm UTC](https://www.ruby-forum.com/t/a-problem-with-my-cucumber/164763/1 "2009-04-05T14:40:48Z")

</div>

Hi all -

Recently installed the cucumber gem.

Followed the steps as shown on Railscasts -

> **[\#155 Beginning with Cucumber - RailsCasts](http://railscasts.com/episodes/155-beginning-with-cucumber)**
>
> Short Ruby on Rails screencasts containing tips, tricks and tutorials. Great for both novice and experienced web developers.

“script/generate cucumber” works fine but when I try to run “cucumber  
features -n” I get an error:

-bash: cucumber: command not found

any clues?

---

<div class="post-metadata">

**Author:** ![gavin](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/439d5e/32.png) [@gavin](https://www.ruby-forum.com/u/gavin)\
**Post date:** [April 5, 2009, 2:49pm UTC](https://www.ruby-forum.com/t/a-problem-with-my-cucumber/164763/2 "2009-04-05T14:49:35Z")

</div>

Gavin wrote:

> Recently installed the cucumber gem.
> 
> Followed the steps as shown on Railscasts -  
> [#155 Beginning with Cucumber - RailsCasts](http://railscasts.com/episodes/155-beginning-with-cucumber)
> 
> “script/generate cucumber” works fine but when I try to run “cucumber  
> features -n” I get an error:
> 
> -bash: cucumber: command not found

Cuke is teetering on the brink of this forum demanding it get its own  
forum:

news://news.gmane.org:119/gmane.comp.lang.ruby.rspec.user

Try more advanced cucumber questions there.

Until then, your RubyGems binary folder is not on your path - El Goog  
will tell  
you what that folder is. Something like /var/lib/gems/1.9.0/bin , but I  
can’t  
find you my own example because Debian’s Ruby packages blow goats.
