On Wed, 11 Oct 2000 16:05:26 +0900, hipster wrote: > On Wed, 11 Oct 2000 11:56:33 +0900, Chris Morris wrote: > > Newbie alert: ruby can't find the file I'm referring to in a require > > statement. The file required is in the same directory as the original source > > file. Obviously, this doesn't work. Where does ruby get its path info? > > Also remember that the file required has to have a `.rb' extension (or > `.so' for binaries). > > require "herfstvrucht" #=> looks for `herfstvrucht.rb' > > Given that the file you require is in the same dir as the requiring > script, and that `.' comes normally first in $: this might be your ^^^^^ s/first/last/ Argument stays the same. > problem. Michel