Run bundle update cucumber capybara cucumber-rails
to update to the newest versions.
Backup your features/support/path.rb
to be able to add your own paths again after the cucumber installation script in step 4.
Backup your features/support/env.rb
file to be able to reintegrate parts like your blueprints setup:
ENV["RAILS_ENV"] ||= "cucumber"
require File.expand_path(File.dirname(__FILE__) + '/../../config/environment')
require 'spec/support/blueprints'
Run $ rails generate cucumber:install --capybara
to integrate cucumber/capybara into your rails project.
Run your tests and fix error messages by reintegrating parts from your backed up files.