Is there a way to install an earlier version of watir-webdriver including dependencies?
I've been running watir-webdriver for a while now, but just ran into problems today when installing on a new Windows environment.
The error is on the require "watir-webdriver". The first error line indicates that ruby is unable to load ffi
C:/Ruby21/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- ffi_c (LoadError)
It looks like the problem may be with the combination of gems, so am including the versions here:
bigdecimal (1.2.4) childprocess (0.5.3) ffi (1.9.5 x86-mingw32) io-console (0.4.2) json (1.8.1) minitest (4.7.5) multi_json (1.10.1) psych (2.0.5) rake (10.1.0) rdoc (4.1.0) rubyzip (1.1.6) selenium-webdriver (2.43.0) test-unit (2.1.3.0) watir-webdriver (0.6.11, 0.6.10) websocket (1.2.1)
bundle exec ./your_script
? – Малъ Скрылевъwatir-webdriver
, and the closing note points toffi
. Check out the issue againstffi
wheregem -rdevkit install ffi --platform=ruby ffi
is a suggested workaround. Your mileage may vary... – orde