added in the Paperclip gem and got it working