Re: [Wtr-general] Another question about "no such file to load -- watir (LoadError)"

2006-09-13 Thread Bret Pettichord
Charley Baker wrote: > Is this due to RUBYOPT not being set in 184 and 185? Yes ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] Another question about "no such file to load -- watir (LoadError)"

2006-09-13 Thread Charley Baker
Is this due to RUBYOPT not being set in 184 and 185? On 9/13/06, Bret Pettichord <[EMAIL PROTECTED]> wrote: Allen Zhou wrote:> With Ruby 1.8.4 or 1.8.5, I must wrote as below> > require 'rubygems'> require_gem 'watir'>I realize Allen is using Watir 1.5, but this will also be a problem for1.4 users.

Re: [Wtr-general] Another question about "no such file to load -- watir (LoadError)"

2006-09-13 Thread Bret Pettichord
Allen Zhou wrote: > With Ruby 1.8.4 or 1.8.5, I must wrote as below > > require 'rubygems' > require_gem 'watir' > I realize Allen is using Watir 1.5, but this will also be a problem for 1.4 users. I'm wondering if we should update the users-guide and upload it to wtr.rubyforge.org? Bret

Re: [Wtr-general] Another question about "no such file to load -- watir (LoadError)"

2006-09-12 Thread Allen Zhou
Hi Bret, Thank you very much. I got the answer. With Ruby 1.8.4 or 1.8.5, I must wrote as below require 'rubygems' require_gem 'watir' Thanks :) - Posted via Jive Forums http://forums.openqa.org/thread.jspa?threadID=4136&messag

Re: [Wtr-general] Another question about "no such file to load -- watir (LoadError)"

2006-09-12 Thread Allen Zhou
Hi Bret, I followed your instruction but it report other error message as below. tc001.rb is my test case and escrow_inc.rb is my include ruby file. Though the result, the program went to "C:\Documents and Settings\szhou\wor kspace\Escrow Test\watir\IEDialog\Release\IEDialog.dll " to find some li

Re: [Wtr-general] Another question about "no such file to load -- watir (LoadError)"

2006-09-12 Thread Allen Zhou
Hi charley, I have installed WATIR 1.4.1 before and used ruby 1.8.1, it worked well. And these days, I would like to try the new feature of ruby 1.8.5 and WATIR 1.5, so I uninstalled ruby 1.8.1 and installed 1.8.5, then I used gem to install WATIR 1.5. In your email, you said that I should delet

Re: [Wtr-general] Another question about "no such file to load -- watir (LoadError)"

2006-09-12 Thread Bret Pettichord
With Ruby 1.8.4 or 1.8.5, you must first do require 'rubygems' before you do require 'watir' With 1.8.2, this was implicit. Bret Charley Baker wrote: > I'm not quite sure what you're doing. You've installed a gem, 1065 > according to your email. Which file is ruby complaining about? And

Re: [Wtr-general] Another question about "no such file to load -- watir (LoadError)"

2006-09-12 Thread Charley Baker
I'm not quite sure what you're doing. You've installed a gem, 1065 according to your email. Which file is ruby complaining about? And why are you copying your files watir and other files? It sounds like you're creating a mess of problems. Uninstall the 1.4 version if you have it and delete watir.r

[Wtr-general] Another question about "no such file to load -- watir (LoadError)"

2006-09-12 Thread Allen Zhou
Hi, I am suffering the question of "no such file to load -- watir (LoadError)". I know it has been discussed in the URL below http://forums.openqa.org/thread.jspa?threadID=3949&tstart=30 But following the instruction, I still can't solve the problem. I found that if I copy the WATIR folder to t