replaced rmagick with minmagick in attachmentUploader ~leph