This is a guess, but try taking gherkin out of your gemfile. It's probably requiring an older version of gherkin. Gherkin should be implicitly required by Cucumber anyway.
cheers,
Matt
> Hi Matt,
>
> Actually I put it in because on Stack Overflow I saw that suggested to
> someone with a similar problem.
>
> http://stackoverflow.com/questions/3556147/rails-3-cucumber-load-error
>
> I've just removed it and confirmed the problem remains.
Can you try it with the latest version of Cucumber (0.9.x) please?
> --
> You received this message because you are subscribed to the Google Groups "Cukes" group.
> To post to this group, send email to cu...@googlegroups.com.
> To unsubscribe from this group, send email to cukes+un...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/cukes?hl=en.
> Good point. Updated Gemfile and Cucumber. Now I get:
>
> steven$ rails generate cucumber:install --rspec --capybara --spork
> Could not find generator cucumber:install.
Do you still have cucumber-rails in there? You need it.
> For more options, visit this group at http://groups.google.com/group/cukes?hl=en.
> Indeed. Gemfile includes:
>
> group :development, :test, :cucumber do
> gem "compass", ">= 0.10.5"
> gem "compass-susy-plugin", ">=0.8.1"
> gem "haml"
> gem "mongrel"
> gem "rspec-rails", ">= 2.0.0"
> gem "capybara"
> gem "cucumber", ">=0.9.2"
> gem "cucumber-rails"
> gem "database_cleaner"
> gem "launchy" # So you can do Then show me the page
> gem "spork"
> gem "sqlite3-ruby", :require => "sqlite3"
> gem "webrat"
> end
I don't understand that. I just tried that Gemfile on a brand new Rails 3.0 app and `rails g --help` shows the cucumber:install generator.
Daft question, but did you remember to do `bundle install` after you changed the gemfile that last time?
> For more options, visit this group at http://groups.google.com/group/cukes?hl=en.
I don't understand that. I just tried that Gemfile on a brand new Rails 3.0 app and `rails g --help` shows the cucumber:install generator.
On 11 Oct 2010, at 13:10, steven_noble wrote:
> Indeed. Gemfile includes:
>
> group :development, :test, :cucumber do
> gem "compass", ">= 0.10.5"
> gem "compass-susy-plugin", ">=0.8.1"
> gem "haml"
> gem "mongrel"
> gem "rspec-rails", ">= 2.0.0"
> gem "capybara"
> gem "cucumber", ">=0.9.2"
> gem "cucumber-rails"
> gem "database_cleaner"
> gem "launchy" # So you can do Then show me the page
> gem "spork"
> gem "sqlite3-ruby", :require => "sqlite3"
> gem "webrat"
> end
Daft question, but did you remember to do `bundle install` after you changed the gemfile that last time?