jnicklas/carrierwave — comment on commit 79c8b3a0e5f5a6e7007ef53061156ae8a77f5d78
File: lib/carrierwave/uploader/store.rb line 82
By nirvdrum:

FWIW, this issue should be fixed for JRuby 1.6.6 and 1.7. It will adhere to the Dir#rmdir contract and raise a subclass of SystemCallError.