Skip to content

Instantly share code, notes, and snippets.

@binaryphile
Last active August 29, 2015 13:57
Show Gist options
  • Select an option

  • Save binaryphile/9491223 to your computer and use it in GitHub Desktop.

Select an option

Save binaryphile/9491223 to your computer and use it in GitHub Desktop.
phantomjs error
An error occurred in an after hook
Cliver::Dependency::VersionMismatch: Could not find an executable 'phantomjs' that matched the requirements '~> 1.8', '>= 1.8.1'. Found versions were {"/home/ted/.g
em/ruby/2.0.0/bin/phantomjs"=>"2.0.0"}.
occurred at /home/ted/.gem/ruby/2.0.0/gems/cliver-0.2.2/lib/cliver/dependency.rb:149:in `raise_version_mismatch!'
~/D/p/s/2/s/frontend *payment_state> gem list phantomjs
*** LOCAL GEMS ***
phantomjs-binaries (1.8.1.1)
~/D/p/s/2/s/frontend *payment_state>
~/D/p/s/2/s/frontend *payment_state> bundle exec which phantomjs
/home/ted/.gem/ruby/2.0.0/bin/phantomjs
~/D/p/s/2/s/frontend *payment_state> bundle exec phantomjs --version
Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 14: reading configurations from ~/.fonts.conf is deprecated.
1.8.1
~/D/p/s/2/s/frontend *payment_state> ll /home/ted/.gem/ruby/2.0.0/bin/phantom*
-rwxr-xr-x 1 ted ted 497 Mar 11 13:44 /home/ted/.gem/ruby/2.0.0/bin/phantomjs*
-rwxr-xr-x 1 ted ted 517 Mar 11 13:44 /home/ted/.gem/ruby/2.0.0/bin/phantomjs-1.8.1-darwin-x86_64*
-rwxr-xr-x 1 ted ted 516 Mar 11 13:44 /home/ted/.gem/ruby/2.0.0/bin/phantomjs-1.8.1-linux-x86_64*
~/D/p/s/2/s/frontend *payment_state>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment