I'm trying to set up a rails app with paperclip and ImageMagick on Ubunutu 10.10, I have managed to make it work but only with bmp files, when i try to upload any other kind of file I get the error:
Image Paperclip::CommandNotFoundError
Image Paperclip::CommandNotFoundError
I thought it had something to do with ImageMagic so I found this old tutorial
http://www.randycullom.com/chatterbox/archives/2006/12/installing_imag.html
So I uninstall ImageMagick, installed jpg,tiff and png libraries, on jgp library I used
./configure --enable-shared ...
And then install ImageMagic with configure
./configure --enable-lzw=yes --enable-shared=yes --disable-static --without-perl make sudo make install
and the error still apears, on my enviroment.rb I have
Paperclip.options[:command_path] = "/usr/local/bin/"
Which is the path than running 'which convert' gave me, on gem file:
gem "paperclip", "~> 2.3" gem 'rmagick'
What am I missing? Help would be much appreciated.
Ubuntu 16.04:
sudo apt-get -y install imagemagick libmagickcore-dev libmagickwand-dev
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With