From: James Gray Date: 2009-01-14T00:04:08+09:00 Subject: Re: rakefile "$0" path in rake On Jan 13, 2009, at 8:57 AM, Peter Pk wrote: > Is there a way to get the path to "itself" in a rakefile loaded by > rake? Sure. > *** > > inside rakefile > > myPath = # ???? my_path = File.expand_path(__FILE__) > p "running #{myPath}" Hope that helps. James Edward Gray II