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

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 [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.

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.
[email protected] 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 [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.

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 [email protected]
wrote:

Eric

[email protected][email protected]
.
For more options, visit this group at
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 [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.