After reading through these posts, I have to say the easiest way to
get WATIR running is by doing the following:

1. Install Ruby via the One Click installer [1.8.??] via
http://www.ruby-lang.org/en/downloads/. After installation go to
prompt and type 'gem update --system'.
2. If you get the error message above [ 'ERROR:  While executing
gem ... (Gem::GemNotFoundException)
    Could not find watir (> 0) in any repository ' ], you need to
update your gem package manager to the latest version. Go to
http://rubyforge.org/frs/?group_id=126 and download the latest
version. You can compare your version number by typing 'gem -v' in
command prompt.
3. Unzip the latest gem package manager, open a command prompt in the
directory you extracted to and execute the command 'ruby setup.rb'
4. Now try running 'gem update --system'. It should work. If it
doesn't, then bullocks! If it does, run 'gem install watir'.

'Should' work now. Note, I updated this thread because this is what
comes up in Google's search.

On Dec 29 2009, 10:55 pm, Wesley Chen <[email protected]> wrote:
> Watir latest version is 1.6.5. Please don't use Watir1.5.4.
>
> Thanks.
> Wesley Chen.
> For life, the easier, the better.
>
> 2009/12/30 lu.hr2009 lu.hr2009 <[email protected]>
>
> > thread name can i have it ,thank you.
> > watir-1.5.4.gem have  downloaded,it can help me ?
>
> > 2009/12/29 Wesley Chen <[email protected]>
>
> > It is a different topic, please open a new thread.
>
> >> Please see the doc:http://wiki.openqa.org/display/WTR/Installation
> >> And then try again.
>
> >> Thanks.
> >> Wesley Chen.
> >> For life, the easier, the better.
>
> >> 2009/12/29 lu.hr2009 lu.hr2009 <[email protected]>
>
> >> hi
>
> >>> I am trying to install watir in my PC. while I am running the command
> >>> "gem update --system" or "gem install watir"
> >>> It always throws following error
>
> >>> ERROR:  While executing gem ... (OptionParser::AmbiguousOption)
> >>>     ambiguous option: -system
>
> >>> because my company hava domain manager.
> >>> how to resolve it,thank you!
>
> >>> 2009/12/9 chethan sarathy <[email protected]>
>
> >>>  H
>
> >>>> I All,
>
> >>>> Here is the solution for Ruby Installation & Updating the Gems.
>
> >>>> Pls read this article for more info
> >>>>http://rubyforge.org/forum/forum.php?forum_id=35591
>
> >>>> Steps:
>
> >>>>    - Find the New Ruby Installer "186-27_rc2.exe." in
> >>>>    http://rubyforge.org/frs/?group_id=167
> >>>>    - Install the same (run the command ruby -v some times it throws
> >>>>    error in that case uninstall & install again).
> >>>>    - Run gem update (earlier gem update --system doesn't work).
> >>>>    - Run gem install watir.
>
> >>>>    Done.
>
> >>>>    This will start running Watir   :)
>
> >>>>    Thanks to Shivananda & gemcutter google group for all the help they
> >>>>    extended.
>
> >>>>    Cheers,
> >>>>    Chethan
>
> >>>> ------------------------------
> >>>> The INTERNET now has a personality. YOURS! See your Yahoo! 
> >>>> Homepage<http://in.rd.yahoo.com/tagline_yyi_1/*http://in.yahoo.com/>.
>
> >>>> --
> >>>> You received this message because you are subscribed to the Google
> >>>> Groups "Watir General" group.
> >>>> To post to this group, send email to [email protected]
> >>>> Before posting, please read the following guidelines:
> >>>>http://wiki.openqa.org/display/WTR/Support
> >>>> To unsubscribe from this group, send email to
> >>>> [email protected]
> >>>> For more options, visit this group at
> >>>>http://groups.google.com/group/watir-general
>
> >>> --
> >>> 善待自己,相信自己,好运常伴自己!
>
> >>>  --
> >>> You received this message because you are subscribed to the Google Groups
> >>> "Watir General" group.
> >>> To post to this group, send email to [email protected]
> >>> Before posting, please read the following guidelines:
> >>>http://wiki.openqa.org/display/WTR/Support
> >>> To unsubscribe from this group, send email to
> >>> [email protected]
> >>> For more options, visit this group at
> >>>http://groups.google.com/group/watir-general
>
> >>  --
> >> You received this message because you are subscribed to the Google Groups
> >> "Watir General" group.
> >> To post to this group, send email to [email protected]
> >> Before posting, please read the following guidelines:
> >>http://wiki.openqa.org/display/WTR/Support
> >> To unsubscribe from this group, send email to
> >> [email protected]
> >> For more options, visit this group at
> >>http://groups.google.com/group/watir-general
>
> > --
> > 善待自己,相信自己,好运常伴自己!
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Watir General" group.
> > To post to this group, send email to [email protected]
> > Before posting, please read the following guidelines:
> >http://wiki.openqa.org/display/WTR/Support
> > To unsubscribe from this group, send email to
> > [email protected]
> > For more options, visit this group at
> >http://groups.google.com/group/watir-general
-- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to [email protected]
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/watir-general

Reply via email to