title: How to use Capybara for IE8 in pure Ruby (without Rails)?
body: <p>I've been using the following code to test run using Capybara with IE8 in pure Ruby, i.e. NOT a rails app but every time I run the script IE8 pops up but then Firefox pops up and the tests run through Firefox leaving IE8 sitting in the background:</p>
  
  <pre><code>$:.unshift(File.dirname(__FILE__) + '/../../lib')
  
  begin require 'rspec/expectations'; rescue LoadError; end
  require 'rubygems'
  
  require 'capybara'
  require 'capybara/dsl'
  
  Capybara.run_server = false
  Capybara.app_host = 'http://www.google.com'
  
  require 'selenium-webdriver'
  Selenium::WebDriver.for :internet_explorer
  Capybara.default_driver = :selenium
  
  require 'cukesalad'
  begin require 'rspec/expectations'; rescue LoadError; require 'spec/expectations'; end
  </code></pre>