> When using eruby for web development, $0 for any given .rhtml file

File.dirname(__FILE__)

Variations with Pathname are much more programmer-friendly, too!

-- 
 Phlip