@chessbyte There is a "if File.exist?(gem.file_name)" in the ensure block that verifies the file exists before it is removed.