昨天我的rspec +硒运行正常。今天,当我进行测试时,我得到了:
Failure/Error: Unable to find matching line from backtrace
NameError:
uninitialized constant Zip::File
# /home/mygemsetpathd/gems/selenium-webdriver-2.37.0/lib/selenium/webdriver/common/zipper.rb:21:in `unzip'
然后我将selenium-webdriver更新为2.39.0,但错误是一样的。 我有宝石'zip'和宝石'rubyzip',“〜> 1.0”,需要:我的Gemfile中的'zip'。
感谢您的任何建议。