On 6/13/07, JT Kimbell <jtkimbell / yahoo.com> wrote:
> I may be wrong, but after some testing it appears to me that when I
> attempt to create a new file using File.new in a directory that does not
> exist, instead of creating the directory, an exception is thrown
> instead.

  You could use Dir::mkdir or FileUtils#mkdir to create a directory
and FileUtils#mkdir_p if you want to create a directory and its
parents directories (if they doesn't exists).

-- 
Luis Parravicini
http://ktulu.com.ar/blog/