How to install cucumber, webrat, rspec, shoulda, factory_girl
In config/environments/test.rb:
config.gem 'cucumber', :lib => false
config.gem 'webrat', :lib => false
config.gem 'rspec', :lib => false
config.gem 'rspec-rails', :lib => false
config.gem 'thoughtbot-shoulda',
:lib => false,
:source => 'http://gems.github.com'
config.gem 'thoughtbot-factory_girl',
:lib => false,
:source => "http://gems.github.com"
Then from the command line:
rake gems:install RAILS_ENV=test
Then put the following in features/env.rb:
require 'factory_girl'
require 'spec/factories'
require 'shoulda'