From: Trans Date: 2005-09-29T14:56:44+09:00 Subject: Re: require namespaces Okay, so I wanted a complete solution. A better solution. So I came up with the idea of adding a namespace file into my lib path that is "aquisitioned" (zope term), that will put into place the namespaces. mylib/ _ns.rb foo/ scriptA.rb bar/ scriptB.rb In "_ns.rb" I have: mylib/foo myspace mylib/bar myspace Yes, I know it's not really a ruby script, but setup.rb won't install it unless it ends in .rb --also I may change it to an actual ruby script in the future --then it will more like an "autorequire" file. Anyway. This solves all problems. Except for one thing: it's very tricky to code. I've managed a semi-working implemenation, but it's lack luster and fails under certain cases. So I wondering if anyone has any insight on how this can be coded? Thanks, T.