Could not find an executable [“phantomjs”] on your path.

Posted on

ERROR:

Got this error when running rspec.

1.2) Failure/Error:

            raise Dependency::NotFound.new(

              Could not find an executable #{@executables} on your path.)

          Cliver::Dependency::NotFound:

            Could not find an executable [“phantomjs”] on your path.

 

FIX:

gem 'phantomjs', :require => 'phantomjs/poltergeist'

I added this to my gem file, under group :development, :test do and ran bundle install

After that this error didnt come up

answer found on https://github.com/learn-co-curriculum/your-own-js-and-css-in-rails/issues/7

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s