On 02.01.2010 03:33, Kimball Johnson wrote:
> As to getting the parent directory of a file, try this:
>
> File.dirname(File.dirname(__FILE__))
>
> or for the absoluter path:
>
> File.expand_path(File.dirname(File.dirname(__FILE__)))
>
> dumb but smart?

require "futils"
puts Dir.pwd

--
Phillip Gawlowski