From: Joel VanderWerf Date: 2006-07-11T00:57:18+09:00 Subject: Re: Ruby Scripts Location Doug Bromley wrote: > I want to be able to access the location/path of the currently > executing Ruby script. I thought it was a global variable "$" but > looking at the lists I've seen I can't find it. $0 is probably what you want. Use File.expand_path on it to get the full path. -- vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407