Ruby deleting directories March 4, 2023 by Tarik require 'fileutils' FileUtils.rm_rf('directorypath/name') Doesn’t this work?