Search code examples
watirfirewatir

It seems as though firewatir is not being found when trying to run my script?


I am very new at Ruby and am having an issue when trying to run my script using watir.

I am getting this error:

"./watir.rb:4:in require': no such file to load -- firewatir (LoadError) from ./watir.rb:4 from watir.rb:3:inrequire' from watir.rb:3"

Any help would be great!

Thanks!

Curtis


Solution

  • How did you install the gem?

    Try adding this at the top of your script:

    require "rubygems"