This is related to ImageMagick. The command_path
option needs to point to the location where identify
is installed. From the command line, you can determine this with which identify
.
$ which identify
/some/path/to/identify
Afterwards, set command_path
to that path (in config/environments/development.rb
):
Paperclip.options[:command_path] = "/some/path/to"
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…