Errno :: ENOENT when loading an image using Carrierwave and MiniMagick

My rails app has an image download that uses the latest versions of Carrierwave and MiniMagick. It works fine on the server, but on my localhost, which is WEBrick and Windows 7, I get this error when trying to upload an image:

Errno::ENOENT in PostsController#create No such file or directory - identify -ping C:/Users/Ryan/AppData/Local/Temp/mini_magick20121024-6068-g2bed8.jpg 

I am on my way, and the image actually exists, I'm not sure what prevents Carrierwave or MiniMagick from reading it.

Does anyone have an idea?

+4
source share
1 answer

Do you have ImageMagick installed? Can you run the authentication command manually on the console?

The reason I'm asking seems to be that your error message is what happens when it cannot find the commend identifier that is part of ImageMagick.

+12
source

Source: https://habr.com/ru/post/1441789/


All Articles