From: Joel VanderWerf Date: 2008-04-16T01:28:45+09:00 Subject: Re: How to reliably setup require path Eric Hodel wrote: > The simplest way is `ruby -Ilib bin/myapp` from the root of the project > dir. > > (-I directories take precedence over RUBYLIB directories.) Also, it's fragile with respect to the cwd. You have to be in myapp/ to run it, and also the program can't Dir.chdir without breaking the reference to the lib dir. -- vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407