I'm having a similar problem ...
I have set the environment variables
QWT_HOME=C:\Program Files\WATIR\wet
RUBYLIB=C:\Program Files\WATIR\wet
But when I try and run Install_test.rb I get the following error
C:\Program Files\WATIR\wet/qantom/webobjects/WebTableCell.rb:30:
uninitialized constant Watir::ObjectActions (NameError)
from
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/loadpath_manager.rb:5:in `require__'
from
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/loadpath_manager.rb:5:in `require'
from C:\Program Files\WATIR\wet/WET.rb:43
from
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/loadpath_manager.rb:5:in `require__'
from
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/loadpath_manager.rb:5:in `require'
from Install_test.rb:1
Can you help?
-----Original Message-----
From: Sathya Shankar [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 09, 2005 6:12 AM
To: [email protected]
Subject: Re: [Wtr-general] Re: Object repository, Popups and other
enhancements
Hi Hue,
Have you also set the RUBYLIB environment variable?
QWT_HOME always points to your WET installation directory.
If your system does not already have RUBYLIB environment variable set, then
RUBYLIB will point to the same directory as QWT_HOME.
On my machine, when I do a set command, I see the following:
QWT_HOME=D:\Wet\ruby
RUBYLIB=D:\WET\RUBY
Let me know if this works for you.
Satti
Hue Mach Dieu wrote:
>Hi,
>I add the QWT_HOME as install guide, and Write script use WET as like
>this
>
>require 'WET'
>include WET
>
>Browser.new().goto "http://localhost:8082"
>
>When I run it, I got this error
>
>D:/Applications/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
>1
>8:in `re
>quire__': No such file to load -- WET (LoadError)
> from
>D:/Applications/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require
>.rb:18:in `require'
> from D:/Project/Elpida EES
>Fab2/Automation/MyScript/sample/sample.rb:1
>
>Is I wrong anything?
>
>Thank you fro help
>
>Hue
>
>
>_______________________________________________
>Wtr-general mailing list
>[email protected]
>http://rubyforge.org/mailman/listinfo/wtr-general
>
>
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general