Search code examples
ruby-on-railsuploaddevisecarrierwave

Errno::ENOENT in Devise::RegistrationsController#update


Hello. I'm trying to add an avatar to the user, but when booting I see the error below. I use gem Carrierwave and mini_magick. Tell me how to fix this. Sorry for my english.

Errno::ENOENT in Devise::RegistrationsController#update
No such file or directory - identify -ping /tmp/mini_magick20120225-3898-acxvro.jpg

Solution

  • You need to install imagemagick on your operating system.

    https://help.ubuntu.com/community/ImageMagick

    You can read about what the identify command here and why is it necessary :).

    http://www.imagemagick.org/script/identify.php