On 7/6/07, Giles Bowkett <gilesb / gmail.com> wrote:

> Also, there's a showstopping flaw. It starts with trying to do:
>
> FileUtils.mkdir "0/0/0/0"
>
> But this throws an error in either Unix or irb, because you have to
> mkdir 0 before you put the next 0 in it, and so on four levels down.
> That's why I went with the nested each statements.
>
>

FileUtils.mkdir_p "0/0/0/0" # should do the trick


-- 
Chris Carter
concentrationstudios.com
brynmawrcs.com