Question

My rails app has an image upload which uses the latest versions of Carrierwave and MiniMagick. It works great on the server, but in my local host which is WEBrick and Windows 7, i get this error when i try and 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 go to the path and the image actually exists, i'm not sure what prevents Carrierwave or MiniMagick from reading it.

Any one has an idea?

Was it helpful?

Solution

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

The reason I ask is it appears your error message is what occurs when it can't find the identify commend, which is part of ImageMagick.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top