From: Roger Pack Date: 2009-02-22T03:47:28+09:00 Subject: Re: "permission denied" > FileUtils.rm(pngfile) <----- This is what it's complaining about. > ... > > Exception: Permission denied - EC11SE91-043.png that usually means that some process still has the file open. You could use something like unlocker to try to determine if it has a lock on it. -=r -- Posted via http://www.ruby-forum.com/.