From: Eddy Xu Date: 2008-04-12T03:30:04+09:00 Subject: Re: Which way is the best way to require another file in .rb Thank you all. I write require "foo/bar" and it works fine. On Apr 12, 1:55 am, Saku Ytti wrote: > On (2008-04-12 02:50 +0900), Eddy Xu wrote: > > > push it in every file or in the root file such as bin/foo.rb? if in > > that case, it is impossible to run single source file property, > > right? > > Sorry, I misunderstood it as ad'hoc requirement. If it's always > like that in your system, perhaps set environment > variable RUBYLIB? Or even recompile ruby? > > -- >   ++ytti