Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/ruby/21.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ruby Spree演示缺少产品图像_Ruby_Imagemagick_Spree - Fatal编程技术网

Ruby Spree演示缺少产品图像

Ruby Spree演示缺少产品图像,ruby,imagemagick,spree,Ruby,Imagemagick,Spree,我按照上面的指示去做 此外,我按照上的说明安装imagemagick和rmagick gems。未报告任何错误 当我运行identify时,我得到 Version: ImageMagick 6.7.7-8 2012-06-20 Q8 http://www.imagemagick.org Copyright: Copyright (C) 1999-2012 ImageMagick Studio LLC Features: OpenMP Usage: identify.exe [options .

我按照上面的指示去做 此外,我按照上的说明安装imagemagick和rmagick gems。未报告任何错误

当我运行
identify
时,我得到

Version: ImageMagick 6.7.7-8 2012-06-20 Q8 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2012 ImageMagick Studio LLC
Features: OpenMP

Usage: identify.exe [options ...] file [ [options ...] file ... ]

Image Settings:
  -alpha option        on, activate, off, deactivate, set, opaque, copy
                       transparent, extract, background, or shape
  -antialias           remove pixel-aliasing

演示站点正在运行,但缺少图像。此外,我不能上传图片(没有错误)-他们只是不上传。我相信它与ImageMagick有关,但我不确定。

运行
bundle exec rake spree\u示例:加载
它对我有效

当您在没有任何参数的情况下运行
identify
时,它会显示有关如何使用它的帮助文件。但是为什么没有任何图像?不确定是Spree问题、ImageMagick问题还是其他问题。@justjoe您可以在这里显示您的gemfile/gemfile.lock吗?您使用什么命令生成演示?该命令的输出是什么。我运行了[code]bundle exec rake spree\u示例:load[/code]我收到了我收到的“创建供应商/资产/样式表/spree/backend/all.css创建应用程序/覆盖附加db/seeds.rb复制迁移创建数据库运行迁移加载种子数据加载示例数据插入配置/routes.rb*******************************************************************************我们添加了应用程序的config/routes.rb文件的以下行:mount Spree::Core::Engine,:at=>'/'****************************************************Spree已成功安装。你们都准备好了!享受吧