fixing capybara dependencies.