Open "env.rb" under folder "features/support".
cd ../support
Then change its content to following:
require 'rubygems'
require 'selenium-webdriver'
Before do
@driver = Selenium::WebDriver.for :firefox
@driver.manage.timeouts.implicit_wait = 30
@driver.manage.timeouts.script_timeout = 30
@driver.manage.timeouts.page_load = 30
end
After do
@driver.quit
end