Issue #3178 has been updated by rico gloeckner.


AH, thats nonsense too. 

you cant remove a directory if it is nonempty, even when -p is set (since the directory will contain childs, NOT ancestors)
In other words: what i write would be useful for a "recursive" option, not for the "parent" option.

With that in mind, i think the complete rescue block should be removed, unless recursive is added, too.
----------------------------------------
http://redmine.ruby-lang.org/issues/show/3178

----------------------------------------
http://redmine.ruby-lang.org