I'm running on windows 2k and require 'cgi' works fine.  I get slightly
different output from puts $:, though, with /cygdrive/ in front of each
entry.

irb(main):001:0> puts $:
/cygdrive/e/ruby/lib/ruby/site_ruby/1.6/i386-cygwin
/cygdrive/e/ruby/lib/ruby/site_ruby/1.6
/cygdrive/e/ruby/lib/ruby/site_ruby
/cygdrive/e/ruby/lib/ruby/1.6/i386-cygwin
/cygdrive/e/ruby/lib/ruby/1.6
.
nil

Wayne

"Nick Drochak" <ndrochak / gol.com> wrote in message
news:95f9719.0105210854.7f50b997 / posting.google.com...
> I have a small program that tries to require "cgi".  I get this error:
> e:\ruby\rbweb\rbweb.rb:2:in `require': No such file to load -- cgi
> (LoadError)
> from e:\ruby\rbweb\rbweb.rb:2
>
>
> In the same code above the require line I did a sanity check of puts
> $: and got this:
>
> e/ruby/lib/ruby/site_ruby/1.6/i386-cygwin
> e/ruby/lib/ruby/site_ruby/1.6
> e/ruby/lib/ruby/site_ruby
> e/ruby/lib/ruby/1.6/i386-cygwin
> e/ruby/lib/ruby/1.6
> .
>
> The cgi.rb file is in E:\ruby\lib\ruby\1.6 which is in load path, as
> far as I can tell, but the format of the paths are not Windows-ish.
>
> Can anyone help?
>
> Thanks,
> Nick