Hi Tony,

1) This is what I'm getting when run it at cmd....

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\parul.upadhyay>gem update --system
Updating RubyGems
ERROR:  http://gems.rubyforge.org/ does not appear to be a repository
ERROR:  While executing gem ... (Gem::RemoteFetcher::FetchError)
    Errno::ECONNREFUSED: No connection could be made because the target
machine
actively refused it. - connect(2) (http://gems.rubyforge.org/yaml)

C:\Documents and Settings\parul.upadhyay>gem install watir
ERROR:  http://gems.rubyforge.org/ does not appear to be a repository
ERROR:  could not find gem watir locally or in a repository



2) This is what I'm getting when I run at irb

irb(main):001:0> require "watir"
LoadError: no such file to load -- watir
        from
C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `ge
m_original_require'
        from
C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `re
quire'
        from (irb):1
irb(main):002:0>



-Parul  




-----Original Message-----
From: [email protected]
[mailto:[EMAIL PROTECTED] On Behalf Of Tony
Sent: Tuesday, December 09, 2008 2:58 PM
To: Watir General
Subject: [wtr-general] Re: LoadError


Hi Parul,

try running this at the cmd ...
gem update --system
gem install watir

After everything is installed try running in irb.

Also once you start irb from cmd or run dialog .. you dont need to
enter irb within it.
This is what it will look like in irb.
irb(main):001:0> require "watir"
=> true
irb(main):002:0>

i see that you have started irb again and to run require you are
using
irb require "watir"  ... is wrong. (just use require "watir")

-Tony





--~--~---------~--~----~------------~-------~--~----~
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