Getting the following error when trying to use phantomjs from ruby on Ubuntu:
Failure/Error: visit root_path Cliver::Dependency::NotFound: Could not fin
add to Gemfile
gem 'phantomjs', :require => 'phantomjs/poltergeist'
or put code below to spec_helper.rb
require 'phantomjs' Capybara.register_driver :poltergeist do |app| Capybara::Poltergeist::Driver.new(app, :phantomjs => Phantomjs.path) end
https://github.com/colszowka/phantomjs-gem