Could not find phantomjs

后端 未结 6 1732
终归单人心
终归单人心 2021-01-01 09:57

Getting the following error when trying to use phantomjs from ruby on Ubuntu:

 Failure/Error: visit root_path
 Cliver::Dependency::NotFound:
   Could not fin         


        
6条回答
  •  萌比男神i
    2021-01-01 10:25

    You can also do

    $ sudo apt-get install phantomjs                               
    

    That should automatically add phantomjs to your path, and do everything else necessary for it to run correctly. This worked for me.

提交回复
热议问题