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.