在Ubuntu上尝试使用ruby中的phantomjs时出现以下错误: Cliver::Dependency::NotFound:Could not find an executable ["phantomjs"] on your path/spec/support/vcr.rb:23:in `block (2 levels) in <top (required)>'
phantomjs在本地构
我已经尝试了很多方法来解决这个问题,但是我一直收到这个错误"'phantomjs' executable needs to be in PATH".我已经尝试将路径添加到环境变量中: def __init__(self,base_url):
self._phantomjs_path = os.path.join(os.curdir,'phantomjs/bin/phantomjs')