# Re: script/generate cucumber fails in Rails 2.3.5 and Ruby 1.9.1

**URL:** <https://www.ruby-forum.com/t/re-script-generate-cucumber-fails-in-rails-2-3-5-and-ruby-1-9-1/180895>\
**Category:** Rails\
**Created:** [December 31, 2009, 4:03am UTC](https://www.ruby-forum.com/t/re-script-generate-cucumber-fails-in-rails-2-3-5-and-ruby-1-9-1/180895 "2009-12-31T04:03:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![christoph\_j](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/76d3ee/32.png) [@christoph\_j](https://www.ruby-forum.com/u/christoph_j)\
**Post date:** [December 31, 2009, 4:03am UTC](https://www.ruby-forum.com/t/re-script-generate-cucumber-fails-in-rails-2-3-5-and-ruby-1-9-1/180895/1 "2009-12-31T04:03:26Z")

</div>

Last thing.  
start an empty project and see whether you get an error too. Ex:

→ rails tmp  
 → cd tmp  
 → ruby script/generate rspec  
 → ruby script/generate cucumber (look whether it creates all the files)

if not something’s wrong with the gem maybe or …???

Chris

–

You received this message because you are subscribed to the Google  
Groups “Ruby on Rails: Talk” group.  
To post to this group, send email to removed\_email\_address@domain.invalid.  
To unsubscribe from this group, send email to  
removed\_email\_address@domain.invalid.  
For more options, visit this group at  
[http://groups.google.com/group/rubyonrails-talk?hl=en](http://groups.google.com/group/rubyonrails-talk?hl=en).

---

<div class="post-metadata">

**Author:** ![christoph\_j](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/76d3ee/32.png) [@christoph\_j](https://www.ruby-forum.com/u/christoph_j)\
**Post date:** [December 31, 2009, 6:38pm UTC](https://www.ruby-forum.com/t/re-script-generate-cucumber-fails-in-rails-2-3-5-and-ruby-1-9-1/180895/2 "2009-12-31T18:38:57Z")

</div>

Rodrigo,

In my initial reply, I was trying to say to Christoph (obviously not  
very clearly) is that you don’t have to manually create the  
cucumber.rb file. script/generate cucumber will do that for you.

Can you switch back to Ruby 1.8.7 (or 1.8.6) via RVM or some other  
utility and determine if you can run script/generate cucumber without  
issue?

Eric

On Dec 30, 7:01 pm, Christoph J.  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Chris  
> –

You received this message because you are subscribed to the Google  
Groups “Ruby on Rails: Talk” group.  
To post to this group, send email to removed\_email\_address@domain.invalid.  
To unsubscribe from this group, send email to  
removed\_email\_address@domain.invalid.  
For more options, visit this group at  
[http://groups.google.com/group/rubyonrails-talk?hl=en](http://groups.google.com/group/rubyonrails-talk?hl=en).

---

<div class="post-metadata">

**Author:** ![christoph\_j](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/76d3ee/32.png) [@christoph\_j](https://www.ruby-forum.com/u/christoph_j)\
**Post date:** [January 3, 2010, 3:17pm UTC](https://www.ruby-forum.com/t/re-script-generate-cucumber-fails-in-rails-2-3-5-and-ruby-1-9-1/180895/3 "2010-01-03T15:17:24Z")

</div>

Chris/Eric,

Thanks both of you.

Well, what happens is that I was using RubyMine which promptly asks you,  
if  
you want to install gems that are missing or just install gems from  
their  
interface.

It ends up that RubyMine doesn’t correctly install the gems. When I  
tried to  
list the available actions for script/generate it didn’t show me the  
cucumber option.

I removed all cucumber related gems from my environment and them did the  
install through sudo gem install cucumber.

After that, all the necessary actions were available to the  
script/generate.

[]'s  
Rodrigo D.

On Thu, Dec 31, 2009 at 3:37 PM, E. Litwin [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> Eric
> 
> > 
> 
> removed\_email\_address@domain.invalid[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
> .  
> For more options, visit this group at  
> [http://groups.google.com/group/rubyonrails-talk?hl=en](http://groups.google.com/group/rubyonrails-talk?hl=en).

–

You received this message because you are subscribed to the Google  
Groups “Ruby on Rails: Talk” group.  
To post to this group, send email to removed\_email\_address@domain.invalid.  
To unsubscribe from this group, send email to  
removed\_email\_address@domain.invalid.  
For more options, visit this group at  
[http://groups.google.com/group/rubyonrails-talk?hl=en](http://groups.google.com/group/rubyonrails-talk?hl=en).
