ottenendo il seguente errore quando si tenta di utilizzare phantomjs da Ruby su Ubuntu:Impossibile trovare phantomjs
Failure/Error: visit root_path
Cliver::Dependency::NotFound:
Could not find an executable ["phantomjs"] on your path.
# ./spec/features/search_spec.rb:17:in `block (2 levels) in <top (required)>'
# ./spec/support/vcr.rb:23:in `block (3 levels) in <top (required)>'
# ./spec/support/vcr.rb:23:in `block (2 levels) in <top (required)>'
phantomjs è stato costruito a livello locale e aggiunto al PATH. Come faccio a ruby a trovare i phantomjs?
Il problema per me era che apt-get installa una versione precedente (1.9.0), mentre mi serviva 2.0.0 –
'E: Impossibile trovare il pacchetto phantomjs' –
grazie. questo ha funzionato per me. :) –