I'm running into the following error:
#ERROR
C:\Users\Farooq>D:
D:\>irb
irb(main):001:0> require 'rubygems'
=> false
irb(main):002:0> require 'watir'
LoadError: cannot load such file -- watir/loader
from D:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from D:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from D:/Ruby193/lib/ruby/gems/1.9.1/gems/commonwatir-4.0.0/lib/watir.rb:1:in `<top (required)>'
from D:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:60:in `require'
from D:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:60:in `rescue in require'
from D:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:35:in `require'
from (irb):2
from D:/Ruby193/bin/irb:12:in `<main>'
irb(main):003:0>
I have installed the gem watir
and my system configurations are as follows:
- OS:Windows7
- IE:10
gem list --local
and show the output here? – Rustcoloredgem install watir --system
is needed.. please don't advice him this... Let him understand how to usewatir-webdriver
.. – Rustcolored