小编fyn*_*ynn的帖子

突然回形针不起作用

照片无法运行identify命令.请安装ImageMagick.

回形针一直在开发中工作正常,但我突然无法上传照片..没有安装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 …
Run Code Online (Sandbox Code Playgroud)

ruby ruby-on-rails paperclip ruby-on-rails-4

0
推荐指数
1
解决办法
4543
查看次数

标签 统计

paperclip ×1

ruby ×1

ruby-on-rails ×1

ruby-on-rails-4 ×1