Subject: removing directories
	Date: Thu 29 Nov 12 10:39:52PM +0900

Quoting Peter Bailey (lists / ruby-forum.com):

>   FileUtils.rm_rf('#{dir}')

When strings are included in single quotes, #{} expansion does not
take place. Try with 

FileUtils.rm_rf("#{dir}")

(even if here, you already have a string, so 

FileUtils.rm_rf(dir)

should equally do the trick)

Carlo

-- 
  *         Se la Strada e la sua Virtu' non fossero state messe da parte,
* K * Carlo E. Prelz - fluido / fluido.as             che bisogno ci sarebbe
  *               di parlare tanto di amore e di rettitudine? (Chuang-Tzu)