change paperclip version to 2.7.4 from 4.2.0 and changed cocaine to 0.3.2 from 0.5.4