From: "Dmitry V. Sabanin" Date: 2003-07-23T18:45:40+09:00 Subject: Re: [Windows] Problem with require'ing *.rbw file On Wednesday 23 July 2003 11:38, nobu.nokada@softhome.net wrote: > Hi, > > At Wed, 23 Jul 2003 01:12:21 +0900, > > Dmitry V. Sabanin wrote: > > When he tryies to load a library from subdirectory with .rbw extension, > > everything goes find, and it's loaded, but when he require's it with the > > same path, it says > > ftp.rbw:3:in `require': No such file to load -- lib/log.rbw (LoadError) > > from ftp.rbw:3 > > I now that there is no point to use rbw extension for libraries, but > > anyway is this expected behavior or just a bug? > > Expected behavior. > > > If it's not a bug, then why load'ing goes fine? > > `require' appends suffix .rb or .so if the name doesn't end > with them, but `load' doesn't. Thanx, didn't know that, now i do :) -- sdmitry -=- Dmitry V. Sabanin MuraveyLabs.