From: Christian Neukirchen Date: 2006-01-25T03:21:44+09:00 Subject: Re: Which Directory was my ruby script run from? "Gene Tani" writes: > Tim Hammerquist wrote: > >> BTW, $0 and $PROGRAM_NAME are aliases for the same variable. >> > > "__FILE__", too, I guess No, __FILE__ is the current file, while $0 is the script ruby was started with. -- Christian Neukirchen http://chneukirchen.org