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

Try to reinstall cucumber and cucumber-rails. How does your
environments/cucumber.rb looks like? Can you post it. I have no futher
tips.
Sorry.

Cheers,
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,

There’s no environments/cucumber.rb file.

I thought it would be generated by using the script/generate cucumber.

I’m following a screencast by Ryan B., which currently doesn’t work
anymore :slight_smile:

Kinda lost here.

/var/lib/gems/1.9.1/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:156:in
require': no such file to load -- cucumber/platform (MissingSourceFile) from /var/lib/gems/1.9.1/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:156:in block in require’
from
/var/lib/gems/1.9.1/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:521:in
new_constants_in' from /var/lib/gems/1.9.1/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:156:in require’
from
/var/lib/gems/1.9.1/gems/cucumber-rails-0.2.2/generators/cucumber/cucumber_generator.rb:2:in
<top (required)>' from /var/lib/gems/1.9.1/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:156:in require’
from
/var/lib/gems/1.9.1/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:156:in
block in require' from /var/lib/gems/1.9.1/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:521:in new_constants_in’
from
/var/lib/gems/1.9.1/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:156:in
require' from /var/lib/gems/1.9.1/gems/rails-2.3.5/lib/rails_generator/spec.rb:17:in klass’
from
/var/lib/gems/1.9.1/gems/rails-2.3.5/lib/rails_generator/lookup.rb:140:in
instance' from /var/lib/gems/1.9.1/gems/rails-2.3.5/lib/rails_generator/scripts.rb:31:in run’
from
/var/lib/gems/1.9.1/gems/rails-2.3.5/lib/commands/generate.rb:6:in
<top (required)>' from script/generate:3:in require’
from script/generate:3:in `’

Looking at the error, it seems like its missing something from a rails
activesupport.

Does cucumber works with Ruby 1.9.1 and rails 2.3.5?

[]'s
Rodrigo D.

On Wed, Dec 30, 2009 at 10:27 PM, Christoph J. <
[email protected]> wrote:

“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][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.