Removed rich gem again... think this requires paperclip to work. Will come up with alternative.