Could not find phantomjs

后端 未结 6 1747
终归单人心
终归单人心 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条回答
  •  我在风中等你
    2021-01-01 10:07

    For Mac Os El Capitan use following command:

    npm install -g phantomjs
    

    Above command only works if you have installed npm, for installing npm:

     brew install npm
    

提交回复
热议问题