Try require 'rubygems'
Before your require for Watir... Or set your RUBYOPT environment variable ... Regards, Tim On 18/02/2011, at 8:06 AM, mmauric <michel.maur...@yahoo.fr> wrote: > As explained in the getting started, I have installed ruby-1.8.7-p330 > with the option to update the path variable on Windows 7 pro and > performed: > > gem update --system > gem install watir > > -> watir-1.7.1 is installed (all seems right) > > Then I try to launch Watir and here is below the error message I get: > > C:\Ruby187>irb > irb<main>:001:0>require 'watir' > LoadError: no such file to load --watir > from <irb>:2in 'require' > from <irb>:2 > irb<main>:003:0> > > With Ruby-1.8.7, I have got some successfully cases (answer =>true), > but I have not understood the scenario to reproduce. > > I have tried with different current directories and other versions of > ruby without more success. > > Thank you for your help. > > Regards. > > -- > Before posting, please read http://watir.com/support. In short: search before > you ask, be nice. > > watir-general@googlegroups.com > http://groups.google.com/group/watir-general > watir-general+unsubscr...@googlegroups.com -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googlegroups.com