Added support for Paperclip 4.x
Support for ruby 2.1.1