java
sql
php
iphone
css
xml
mysql
xcode
android
regex
objective-c
visual-studio
multithreading
eclipse
json
perl
cocoa
php5
asp
dom
If this is the original Watir gem, then the following is how I used to launch it:
require 'rubygems' require 'watir' Watir::Browser.default = "firefox" browser = Watir::Browser.new # Whatever you want to do in watir
IamChuckB's answer may be a more efficient way of doing this, but having not used it, I'm not sure.
You need to tell it which browser to open. Try this:
browser = Watir::Browser.new :ff
I haven't played around with watir since my last job so I had to look this up. As I last recall, WATIR was not entirely integrated with FireWATIR (the Firefox based variant). It's good to see that the two have apparently been reconciled in the meantime.
Taken from Watir in Five Minutes on Zeljko Filipin's github, BTW.
To install devkit,
now open a command prompt to install the gem again
c:\> gem install watir
The issue is resolved. Thanx for the the inputs. The issue was with wrong nokorigi gem installation, initially i installed x86-mswin32-60, i uninstalled it and tried with x86-mingw32, it solved.