I\'ve had ImageMagick, RMagick, & PaperClip working properly with everything setup including the config Paperclip.options[:command_path]
in production.rb<
I had this issue, when I had started rails server from my rubymine ide. It seems it does not load your .zshrc (in my case, could also be valid for .bashrc). So some environment variables that make imagemagick work with dvm were not set. For example:
export PATH=$HOME/local/imagemagick/bin:$PATH
export LD_LIBRARY_PATH=$HOME/local/imagemagick/lib:$LD_LIBRARY_PATH
Once I restarted from my terminal, the error was gone.
I had a same issue. This is what worked for me. From terminal, first:
sudo apt-get update
Then:
sudo apt-get install imagemagick
For Cent OS users:
sudo yum install ImageMagick ImageMagick-devel
will do the job
For Mac users: just run the command brew install imagemagick
.
I had the same problem. It was caused by https://github.com/thoughtbot/paperclip/issues/1709
From a terminal, run the following command:
sudo apt-get install imagemagick