使用 CarrierWave 和 MiniMagick 时报错
Errno::ENOENT in Store::ProductsController#create
No such file or directory - identify -ping /tmp/mini_magick20120509-2637-10204m3.png
# Uploader Code
class ProductImageUploader < CarrierWave::Uploader::Base
include CarrierWave::MiniMagick
version 'v50x50' do
process :resize_to_fit => [50, 50]
end
end
Gemfile
gem 'mini_magick' gem "carrierwave", "~> 0.6.2" gem 'carrierwave-mongoid', :require => 'carrierwave/mongoid'