I would guess you have to import the rubygems package as well. Can you try that?
On Fri, Jun 18, 2010 at 1:48 PM, Adam <[email protected]> wrote: > i have a question about a REALLY weird error I'm getting > using notepad++ windows 7, ruby 1.8.6, latest installation of Watir > using "gem install watir" command > so i changed the filename of my ruby script yesterday and now whenever > I add the line require 'watir' i get the following error message: > > <code> > ./watir.rb:5: uninitialized constant Watir <NameError> > from isitfixed.rb:1:in 'require' > from isitfixed.rb:1 > </code> > > i don't see why changing the filename would break watir > > anybody know what might be happening? > > -- > Before posting, please read http://watir.com/support. In short: search before > you ask, be nice. > > You received this message because you are subscribed to > http://groups.google.com/group/watir-general > To post: [email protected] > To unsubscribe: [email protected] > -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. You received this message because you are subscribed to http://groups.google.com/group/watir-general To post: [email protected] To unsubscribe: [email protected]
