From: Joel VanderWerf Date: 2008-04-16T01:02:36+09:00 Subject: Re: How to reliably setup require path Christian Johansen wrote: > I totally see the benefits of using the command-script instead of the > symlink, but I'm now a bit unsure as to what lib/myapp.rb is supposed to > do? The way I have it now is that lib/myapp.rb is the actual executable. > Maybe this should actually serve some other purpose? You could use that for global initialization. For example, if you're writing a FXRuby app, you could instantiate and create the FXApp here, require a "myapp/main-window" file, and so on. -- vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407