Recipe for has_many file attachments and multiple file uploads with paperclip
Installing Imagemagick on ubuntu
$ sudo apt-get install imagemagick libmagickcore-dev libmagickwand-dev
Test that the installation was successful
$ which convert # should return something like /usr/bin/convert