All of a sudden started getting "Could Not Run The `Identify` Command. Please Install ImageMagick."
From a terminal, run the following command:
sudo apt-get install imagemagick
You need to change the files production.rb
and development.rb
which are in:
config/environments:
# Paperclip config:
Paperclip.options[:image_magick_path] = "/opt/ImageMagick/bin"
Paperclip.options[:command_path] = "/opt/ImageMagick/bin"
Just add those two lines just before the last line and restart the server.
In MacOSX system, if you are using another location, just put the right PATH there.
For Mac users: just run the command brew install imagemagick
.