David,
thanks for the reply, but my post was not clear.
The funny thing is that I get false after I type 'require watir'.
It should be true, right? And, watir works, as if I did not get
false.
irb(main):001:0 require watir
= false
The other thing, I get that warning messages even if I do not
On 6/27/06, Zeljko Filipin [EMAIL PROTECTED] wrote:
The funny thing is that I get false after I type 'require watir'.It should be true, right? And, watir works, as if I did not getfalse.irb(main):001:0 require watir
= falseYou get false if it is loaded as a gem. True if the file is in your
Thanks Bret. I always do 'require watir' but false as a response
got me puzzled.
I read somewhere (at this list possibly) that I should try 'require
Watir' so I tried that too, and than got all that warnings.
On 6/27/06, Bret Pettichord [EMAIL PROTECTED] wrote:
And you really shouldn't be doing
I do not know if this has any value:gem list*** LOCAL GEMS ***[...]watir (1.4.1) Automated testing tool for web applications.ruby -vruby 1.8.4 (2005-12-24) [i386-mswin32]
irb(main):001:0 require watir= falseirb(main):002:0 require Watirc:/ruby/lib/ruby/gems/1.8/gems/watir-1.4.1/./Watir.rb:1039:
Zeljko,
Your problem is that that second require should be include Watir
(with no quotes). When you did the second require you got messages for
all the constants that were being re-defined.
David
Zeljko Filipin wrote:
I do not know if this has any value:
gem list
*** LOCAL GEMS ***
I just uninstalled watir (1 click) 1.4.1, downloaded gem 1.5.1.11037. The
installation stated everything workedbut I can't load watir via irb?
Did I do something wrong? Or missing some path? I am using ruby 1.8.2
(2004-12-25) [i386-mswin32]
C:\usr\downloadsgem install watir
It's a bogus error. I'm not sure what causes it. Do this to prove it
to yourself:
require 'watir'
=false
include Watir
=Object
and you're in business.
-Chris
On 6/22/06, George Flaherty [EMAIL PROTECTED] wrote:
I just uninstalled watir (1 click) 1.4.1, downloaded gem 1.5.1.11037. The
Okay yeap you are correct, it still works.
Thanks
-george
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chris McMahon
Sent: Thursday, June 22, 2006 1:29 PM
To: wtr-general@rubyforge.org
Subject: Re: [Wtr-general] Issue with gem 1.5.11037
It's a bogus