update to Paperclip 3.4.0. Cocain 0.5.1 was throwing errors.