diff --git a/app/uploaders/compressed_file_uploader.rb b/app/uploaders/compressed_file_uploader.rb index d029df3..f7309fc 100644 --- a/app/uploaders/compressed_file_uploader.rb +++ b/app/uploaders/compressed_file_uploader.rb @@ -21,9 +21,9 @@ class CompressedFileUploader < BaseUploader case header when [31, 139] - system("gzip -d -k -c #{current_path} >#{out_path}") + system("gzip -d -c #{current_path} >#{out_path}") when [66, 90] - system("bzip2 -d -k -c #{current_path} >#{out_path}") + system("bzip2 -d -c #{current_path} >#{out_path}") else raise "unknown compressed file format" end