From: nobu.nokada@... Date: 2004-01-18T11:54:32+09:00 Subject: Re: In which order are files looked for when loaded/requierd - and what's the order of suffixes? Hi, At Sun, 18 Jan 2004 02:45:03 +0900, Stephan K�mper wrote: > how can I tell in which order the directories are searched for the file > in question? And what's the order fo suffixes to the file ( .rb, .so, ...)? Directories in $:, and suffixes are in order "rb", Config::CONFIG["DLEXT"] and Config::CONFIG["DLEXT2"] if available. Config::CONFIG is defined in rbconfig.rb. > Is the directory order the order of the entries in $: (or $LOAD_PATH > which I tend to prefer after requiring 'English')? Yes. > Hmm, probably not, since '.' is the last entry in the current $: (which > I didn't change) What do you mean? -- Nobu Nakada