lib/omnibus/util.rb
def remove_directory(*paths)
      path = File.join(*paths)
      log.debug(log_key) { "Remove directory `#{path}'" }
      FileUtils.rm_rf(path)
      path
    end
def remove_directory(*paths)
      path = File.join(*paths)
      log.debug(log_key) { "Remove directory `#{path}'" }
      FileUtils.rm_rf(path)
      path
    end
Remove the directory at the given +path+.

 @param [String, Array<String>] paths
   the path or list of paths to join to delete

 @return [String]
   the path to the removed directory