błąd sprawdzania poprawności klejnotu spinacza - „nazwa_pliku” nie jest rozpoznawana przez polecenie „identyfikuj”

Próbuję zdobyć klejnot spinacza do załadowania obrazów na mój serwer produkcyjny (ubuntu 12.0.4, apache2, pasażer phusion i rvm), a dla każdego załącznika otrzymuję trzy części tego błędu sprawdzania poprawności:

Img /tmp/villa-0520121006-4333-hdo9wv.jpeg nie jest rozpoznawany przez komendę „ident”.

ImageMagick jest zainstalowany poprawnie, podobnie jak pakiet libmagickwand-dev, Rmagick i spinacz. I ustawiłem poprawną ścieżkę do komendy gdzie identyfikacja i konwersja znajdują się w moim pliku konfiguracyjnym production.rb.

oto mój model, jeśli pomaga:

class Property < ActiveRecord::Base
    attr_accessible :img_one, :img_two, :img_three, :img_four, :img_five, :img_six, :price, :title, :description, :location, :beds, :property_type, :agreement_type, :featured  
    has_attached_file :img_one, :styles => { :medium => "420x280>", :mobile => "300x220", :thumb => "100x80>" }
    has_attached_file :img_two, :styles => { :medium => "420x280>", :mobile => "300x220", :thumb => "100x80>" }
    has_attached_file :img_three, :styles => { :medium => "420x280>", :mobile => "300x220", :thumb => "100x80>" }
    has_attached_file :img_four, :styles => { :medium => "420x280>", :mobile => "300x220", :thumb => "100x80>" }
    has_attached_file :img_five, :styles => { :medium => "420x280>", :mobile => "300x220", :thumb => "100x80>" }
    has_attached_file :img_six, :styles => { :medium => "420x280>", :mobile => "300x220", :thumb => "100x80>" }


    validates_presence_of :title, :description, :location, :beds, :property_type, :agreement_type, :price
    validates :price, :numericality => { :greater_than => 0 }
    validates :beds, :numericality => { :only_integer => true, :greater_than => 0 }
end

Naprawdę drapam się po głowie tym, a wszelka pomoc lub rada byłaby bardzo wdzięczna

questionAnswers(1)

yourAnswerToTheQuestion