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 delete watir.rb and any watir directory. 
Because I installed WATIR 1.4.1 into the ruby directory, it will be uninstalled 
when ruby was uninstalled.
Then I installed ruby 1.8.5 and WATIR 1.5, I found that the cases which run 
well before failed with the error no such file to load --watir (LoadError)" 
I copy my cases into WATIR folder just want to find if it is an environment 
issue.
When I used require 'watir' , I guess that ruby interpreter will first find the 
library in the current directory and then it will goto 
%rubyroot%\lib\ruby\gems\1.8\gems to find the directory 'watir*'. But it can't 
work now. So I think it may be an environment problem.
How can I sovle it? Need your help! Thanks!
---------------------------------------------------------------------
Posted via Jive Forums
http://forums.openqa.org/thread.jspa?threadID=4136&messageID=11368#11368
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to