installing imagemagick and rmagick.