rake db:test:prepare rails g rspec:install mkdir spec/support spec/models spec/routing guard init rspec # in spec_helper.rb add this line require 'capybara/rspec' # and comment out fixtures (we are using factories # now run guard in background guard