From: Kostas Zoumbatianos Date: 2007-06-19T05:47:39+09:00 Subject: Re: Deleting a non empty directory bmunat@gmail.com wrote: > On Jun 18, 8:28 am, Kaldrenon wrote: >> > -- >> > Posted viahttp://www.ruby-forum.com/. >> >> Use Dir.each to iterate over the items in the dir, and call >> File.delete on them. Then call Dir.delete. > > Or use FileUtils::rm_rf: > > http://www.ruby-doc.org/core/classes/FileUtils.html#M004368 > > Be careful though. ;-) > > b Thanks a lot! -- Posted via http://www.ruby-forum.com/.