0

我正在尝试使用回形针上传图像,但出现此错误:

[paperclip] An error was received while processing: #<Paperclip::Errors::NotIden tifiedByImageMagickError: Paperclip::Errors::NotIdentifiedByImageMagickError>

我发现了几个与我类似的案例。这个这个。但我没有使用宝石可卡因,我的图像文件名是 01.png(不带冒号)。我不知道问题是什么。任何人?

顺便说一句,这是我的 Gemfile :

gem 'rails', '3.1.3'
gem 'sass'
gem 'coffee-script'
gem 'uglifier'

gem 'devise', '2.1.2'

gem 'omniauth'
gem 'omniauth-facebook'

gem 'paperclip'
gem 'aws-s3'
gem 'aws-sdk'
gem 's3_swf_upload'

gem 'rails-i18n', '0.7.3'



group :development, :test do
    gem 'sqlite3'
    gem 'sqlite3-ruby', '1.3.2', :require => 'sqlite3'
    gem 'better_errors'
    gem 'binding_of_caller'
end


group :production do
    gem 'pg'
end

gem "will_paginate", "~> 3.0.pre2"
gem "haml"
gem 'acts-as-taggable-on'
gem "friendly_id", "~> 3.2.1"
gem "simple_form"
gem 'web-app-theme', '>= 0.6.2'
gem "mobile-fu"
gem 'inherited_resources'
gem 'settingslogic'
gem 'recaptcha', :require => 'recaptcha/rails'

gem 'mechanize'
gem 'nokogiri'

编辑

它在回形针配置中没有样式。

4

1 回答 1

1

现在可以了。问题是,我没有在我的电脑中安装 Imagemagick。现在自从我安装并给出了路径。它就像一个魅力:)

于 2013-05-09T08:05:10.837 回答