It took me a little while to figure out how to get Cucumber working on Rails 3 without its rspec dependancy. Maybe it was me being stupid but hopefully this can help others out too!
In your Gemfile (remember to use upto date versions)
gem 'cucumber-rails', '~> 0.4.0'
gem 'capybara', '~> 0.4.1.2'
gem 'database_cleaner', '~> 0.6.6'
Then run
bundle
rails g cucumber:install --testunit --capybara
Once I did that I no longer had my Cucumber throwing a wobbler that it couldn’t find rspec!
Published on Monday, 21 March 2011