【发布时间】:2013-09-26 13:36:36
【问题描述】:
照片无法运行
identify命令。请安装 ImageMagick。
Paperclip 在开发中一直运行良好,但突然我无法上传照片.. 没有安装 imagemagic,但它更早地工作。有人知道吗?
这是我的控制台错误:
Setting Load (0.1ms) SELECT "settings".* FROM "settings" WHERE "settings"."id" = ? LIMIT 1 [["id", "14"]]
(0.1ms) begin transaction
Command :: identify -format '%wx%h,%[exif:orientation]' '/tmp/ubuntu_wallpaper_by_hyarmenadan-d54zgpm20130926-11024-9efnnx.jpg[0]'
[paperclip] An error was received while processing: #<Paperclip::Errors::CommandNotFoundError: Could not run the `identify` command. Please install ImageMagick.>
Command :: identify -format '%wx%h,%[exif:orientation]' '/tmp/ubuntu_wallpaper_by_hyarmenadan-d54zgpm20130926-11024-9efnnx.jpg[0]'
[paperclip] An error was received while processing: #<Paperclip::Errors::CommandNotFoundError: Could not run the `identify` command. Please install ImageMagick.>
Command :: identify -format '%wx%h,%[exif:orientation]' '/tmp/ubuntu_wallpaper_by_hyarmenadan-d54zgpm20130926-11024-9efnnx.jpg[0]'
[paperclip] An error was received while processing: #<Paperclip::Errors::CommandNotFoundError: Could not run the `identify` command. Please install ImageMagick.>
【问题讨论】:
标签: ruby-on-rails ruby paperclip ruby-on-rails-4