•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the Ruby section within the Web Development category of DaniWeb, a massive community of 391,762 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,201 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Ruby advertiser: SELL YOUR PRODUCT TODAY !
Views: 994 | Replies: 0
![]() |
•
•
Join Date: Sep 2006
Posts: 11
Reputation:
Rep Power: 2
Solved Threads: 1
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
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
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb Ruby Marketplace
Similar Threads
- Urgent piece of advice is needed! (Web Developers' Lounge)
- Count Object On Page (Ruby)
Other Threads in the Ruby Forum
- Previous Thread: Accessing URL Links
- Next Thread: Passing javascript variable back to server


Linear Mode