are you requiring rubygems first?
require 'rubygems'
require 'watir'

On Wed, Apr 7, 2010 at 23:09, John Williams <jwil...@gmail.com> wrote:

> Just to be clear, I'm using Ruby 1.8.6 and Watir 1.6.5, both
> successfully installed according to the installation logs. I've
> already tried updating all gems.
>
> Thanks,
> John
>
> On Apr 7, 7:56 pm, John Williams <jwil...@gmail.com> wrote:
> > I couldn't get FireWatir to work on Mac, so I'm trying a more basic
> > installation (I hope) of Watir with IE for Windows XP. After
> > successfully installing the latest Ruby, RubyGems, and Watir 1.6.5,
> > every Watir script I run chokes on the "require" command with the
> > error "no such file to load". This occurs whether I am executing a
> > Ruby script or typing "require 'watir'" in the IRB command line.
> > Clearly Ruby can't find "watir".
> >
> > Since Watir installed successfully, do I need to use "require"
> > commands from any particular directory?
> >
> > Any suggestions appreciated!
> >
> > Thanks,
> > John
>
> --
> 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: watir-general@googlegroups.com
>
> To unsubscribe, reply using "remove me" as the subject.
>

-- 
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: watir-general@googlegroups.com

Reply via email to