install imagemagick with ghostscript on mac os x. Without ghostscript, RMagick will return an empty array when trying to read the pdf file to generate an image.
SO reference: http://stackoverflow.com/questions/2974442/convert-pdf-to-images-using-rmagick-ruby

install
imagemagickwithghostscripton mac os x. Withoutghostscript,RMagickwill return an empty array when trying to read the pdf file to generate an image.SO reference: http://stackoverflow.com/questions/2974442/convert-pdf-to-images-using-rmagick-ruby
