If you need a directory, create it with mkdir; later on, delete it with rmdir (or delete, a synonym of rmdir
Dir.mkdir( "/Users/joe/sandbox" ) Dir.rmdir( "/Users/joe/sandbox" )