Ruby Forum RForum > help in watir

Posted by K sathya Narayanan (sathyak83)
on 30.05.2008 08:55
i
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