sathya_k_83 0 Newbie Poster

hi
I have installed Ruby 1.8.5-21 and also installed the watir gem. but when i use the below statement
require 'watir' #i get the below error

./watir.rb:4: uninitialized constant Watir (NameError)
from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'
from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
from watir.rb:2
>Exit code: 1

please tell me how to prevent this error.

Thanks in Advance
K Sathya Narayanan

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.