Search Google for "--- ubygems (LoadError". There are many posts about this
problem. Unset RUBYOPT.  

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Katy 
> Sent: Tuesday, March 28, 2006 1:59 AM
> To: [email protected]
> Subject: [Wtr-general] How to run Watir in Cygwin or Windows 
> Command window [=not in fxri] ?
> 
> I've got Ruby and Watir installed,Ruby seems to be recognized 
> in Cygwin as following :
> 
> $ruby -v 
> ruby 1.8.4 (2005-12-24) [i386-cygwin] 
> 
> When trying to run irb however ,i receive a '/usr/bin/ruby 
> :no such file to load  --- ubygems (LoadError)'  
> When running irb in command window the following is received 
> when running 'require 'watir'" 
> 
> 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:18:in `re 
> quire__'
>         from 
> c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in `re
> quire'
>         from (irb):1
> irb(main):002:0>
> 
> I've searched the mailing list for info on this subject and 
> only found some reference to the win32ole-0.5.2  in regards 
> to Watir ...
> 
> Would appreciate any help on this - I'd rather use Cygwin 
> than windows commandline,but any one of  them will do as an 
> non-fxri option.
> 
> -- 
> Katy 
> 
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to