I tried to run a simple script as follows to learn automation using watir-webdriver and Ruby. But I am getting no such class error -ffi_c.
class TestWatir
require 'watir-webdriver'
require 'cucumber'
browser = Watir :: Browser.new :firefox
browser.goto 'http://www.google.com'
end
I've added Cucumber and Watir-webdriver gems and also checked there is ffi dependency in the external library.