f = "app/assets/#{vm.uuid}.rrd"if FileTest::exist?(f)File.delete(f)end 原文:http://www.cnblogs.com/juandx/p/4086222.html