#!/usr/bin/env ruby # This code comes from http://ruby-it.org/pages/Rimuovere+Dir # Check the page for copyright notice and explanations >> require 'fileutils' => true >> FileUtils.rm_rf 'testdir' => ["testdir"]