From: Joel Pearson Date: 2013-01-31T00:53:57+09:00 Subject: Re: Confusion with some File::methods It will use the present working directory unless you specify otherwise. irb(main):001:0> File.absolute_path 'a.txt' => "C:/Users/Joel/a.txt" irb(main):002:0> File.absolute_path 'a.txt', 'C:/Test/' => "C:/Test/a.txt" irb(main):003:0> -- Posted via http://www.ruby-forum.com/.