humph. two syntax errors in my tests, but you get the point anyway:
On Sun, 17 Jan 2010 12:30:28 -0400
Ben Armstrong <[email protected]> wrote:
> 1. test for all-in-one-dir:
>
> File.directory?(File.join(File.dirname('__FILE__','..','..','data')))
File.directory?(File.join(File.dirname('__FILE__'),'..','..','data'))
> 2. test for rbconfig:
>
> packagename='live-workbench'
> File.directory?(File.join(Config::CONFIG["datadir"],packagename)
File.directory?(File.join(Config::CONFIG["datadir"],packagename))
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]