/tmp/image1.jpg is not recognized by the 'identify' command.
My ruby version is,
ruby 1.9.3p327
I have installed both ImageMagick & rmagick gem & some other libdev tools. Now my rmagick gem is
rmagick (2.13.1)
& my cocaine gem is
cocaine (0.4.2, 0.2.1)
Also i have done following things,
Expand|Select|Wrap|Line Numbers
- $ sudo apt-get install imagemagick
- $ sudo apt-get install graphicsmagick-libmagick-dev-compat
- $ sudo gem install rmagick
- $ cd /tmp
- $ curl -OL ftp://ftp.imagemagick.org/pub/ImageM...eMagick.tar.gz
- tar -xzf ImageMagick.tar.gz
- cd ImageMagick-6.8.0-10/
- ./configure --prefix=/usr/local --disable-static --with-modules --without-perl -- without-magick-plus-plus --with-quantum-depth=8 --disable-openmp --with-gs-font-dir=/usr/local/share/ghostscript/fonts
- $ make
- $ sudo make install
Paperclip.options[:command_path] = "/usr/local/bin/"
Please help me to solve this issue.