From: Chris Carter Date: 2007-07-07T02:15:16+09:00 Subject: Re: fugly hex On 7/6/07, Giles Bowkett 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