【发布时间】:2023-09-07 21:38:01
【问题描述】:
我按照http://guides.spreecommerce.com/developer/getting_started_tutorial.html 上的说明进行操作 此外,我按照http://codeofalice.com/code/installing-rmagick-on-windows-7/ 上的说明安装了 imagemagick 和 rmagick gem。未报告任何错误。
当我运行 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 有关,但不确定。
【问题讨论】:
-
当你不带任何参数运行
identify时,它会向你显示如何使用它的帮助文件。 -
但是为什么没有图片呢?不确定是 Spree 问题、ImageMagick 问题还是其他问题。
-
@Justjoehere 你能显示你的 gemfile/gemfile.lock 吗?您使用什么命令来生成演示?该命令的输出是什么。
-
我跑了 [code]bundle exec rake spree_sample:load[/code]
-
我收到了我收到了'create vendor/assets/stylesheets/spree/backend/all.css create app/overrides append db/seeds.rb 复制迁移创建数据库运行迁移加载种子数据加载示例数据插入config/routes.rb ************************************************ ***** 我们在应用程序的 config/routes.rb 文件中添加了以下行: mount Spree::Core::Engine, :at => '/' ************** ************************************ Spree 已成功安装。你们都准备好了!享受吧!'
标签: ruby imagemagick spree