Ruby on rails 蜻蜓图像不显示

Ruby on rails 蜻蜓图像不显示,ruby-on-rails,delegates,imagemagick,dragonfly-gem,Ruby On Rails,Delegates,Imagemagick,Dragonfly Gem,我目前正在尝试将图像上传到Rails 4上。在我的开发服务器上,当我上传一个文件时,它只在页面上显示为一个文本字符串,我在控制台中遇到以下错误: identify: no decode delegate for this image format `' @ error/constitute.c/ReadImage/562. [2019-12-10 13:35:01] ERROR Dragonfly::FunctionManager::UnableToHandle: None of the fun

我目前正在尝试将图像上传到Rails 4上。在我的开发服务器上,当我上传一个文件时,它只在页面上显示为一个文本字符串,我在控制台中遇到以下错误:

identify: no decode delegate for this image format `' @ error/constitute.c/ReadImage/562.
[2019-12-10 13:35:01] ERROR Dragonfly::FunctionManager::UnableToHandle: None of the functions registered with #<Dragonfly::Encoder:0x007f92df90d1d8> were able to deal with the method call encode(<Dragonfly::TempObject pathname=#<Pathname:/Users/me/projects/boss/public/system/dragonfly/dev,:jpg). You may need to register one that can.
identify:此图像格式没有解码委托`@error/compose.c/ReadImage/562。
[2019-12-10 13:35:01]错误Dragonfly::FunctionManager::UnableToHandle:在#注册的函数都无法处理方法调用encode(
以下是电流输出:


发布输入图像的链接?它是什么格式?错误似乎是来自蜻蜓的消息。格式是JPG。它发生在提供给它的任何JPG图像上。
<%= image_tag @person.photo.jpg.url %>
<%= form_for @person, :html => {:multipart => true} do |f| %>
    <div class="form-group">
        <%= f.file_field :photo %>
    </div>
<% end %>