Ruby Interpreter (CUI) 1.9.3p194 [i386-mingw32] has stopped working
When including "watir-webdriver" the interpreter stops working and the server occasionally segmentation faults.
#1 [ruby-core:46819] Updated by aslovik (adam slovik) almost 6 years ago
The controller has:
b = Watir::Browser.new :chrome
These lines work fine in a script that I can run from the command line or in irb. That is, I have the gem installed etc.
When I include it in the controller, it seems to run - that is, it opens a browser and navigates to the website, but then I get the message that the interpreter has stopped running.
The view has very minimal html in it and runs fine if I omit the calls to watir-webdriver.
This happens no matter what browser I open (tried IE, firefox, and chrome).
gem list outputs: watir-webdriver (0.6.1)