From: ndrochak@... (Nick Drochak) Date: 2001-05-23T01:10:10+09:00 Subject: [ruby-talk:15545] Re: require doesn't seem to search $: on Win2K ben jubb wrote in message news:<20010521183451.VLMX15234.tomts8-srv.bellnexxia.net@spoon>... > 21/05/2001 13:10:12, ndrochak@gol.com (Nick Drochak) wrote: > > i was just about to post a query regarding this problem, so i'll just provide a few more details... > I'm using IIS 5, and i got .rb mapped to the ruby .exe in the standard way: '{ruby bin}\ruby.exe %s %s'. > When i run a little script like Nick's i get the same result, except that /cygwin/ is prefixed to all the paths in $:. > Also, i can get my scripts to work in IIS properly if i do this: > - open a cmd window > - start IRB > - execute 'require "cgi"' > As long as i leave IRB running, the scripts run by IIS will work properly. weird, huh? > If the solution is to dump IIS and use Apache, i can live with that... > > cheers, > ben Ben, My second question is, what version of cygwin1.dll do you have in ruby/bin and what version do you have in cygwin/bin? I just upgraded today to 1.3.2 and it made things worse! Regards, Nick