Dragonfly、rails 3.2、Refinery Edge (2.0) Centos 5.6 上的 ImageMagick
我已经安装了所有依赖项(或者我认为我已经安装了)。我确实安装了 ImageMagick,但是当使用 Refinery(v2.9 on Rails 3.2) 上传图像时,出现以下错误:
NoMethodError (undefined method downcase' for nil:NilClass): Dragonfly (0.9.10) lib/dragonfly/image_magick/utils.rb:26:in
identify' ....
我发现了这个类似的问题,但完全困惑在哪里放置这段代码: Dragonfly Gem 与 ImageMagick 和 Passenger
任何帮助将不胜感激。
谢谢
M。
I have all the dependancies installed (or I think I do). I definitely have ImageMagick installed, however when using Refinery(v2.9 on rails 3.2) to upload images, I get the following error:
NoMethodError (undefined method downcase' for nil:NilClass):
identify'
dragonfly (0.9.10) lib/dragonfly/image_magick/utils.rb:26:in
....
I found this similar question but totally baffled where to place this code:
Dragonfly Gem with ImageMagick and Passenger
Any help would be much appreciated.
Thanks
M.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以重新安装 ruby 1.9.3 和 Imagemagick 吗?通常出现此错误是因为未安装 Imagemagick,因为身份类位于此处。
Can you reinstall ruby 1.9.3 and Imagemagick. Usually this error occurs for not having Imagemagick installed, as the identity class is located there.