Upgraded capybara gem to 2.1.0 and adjusted the project accordingly