Been using paperclip mainly for file attachment in rails application. When there is a need to add in file uploading feature for a small apps in the company, I decided to give carrierwave a spin, just for the sake of trying out a different gem.
However, when I tried to upload image thru the application, an error message saying â€œtranslation missing: en.errors.messages.mini_magick_processing_errorâ€ appear.
A quick google confirm that it is quite a common problem, a few suggestions are made,
- Remove carrierwave gem and reinstall
- Remove carrierwave, then install ImageMagick first, and finally install carrierwave again.
But none of these solve my problem. Suddenly it hit me that maybe ImageMagick is not working properly, I did a check by just type in magick command into the command prompt, sure enough it said magick is not a recognizable command.
And viola, that did the magick trick and solve the problem J
Also, if the name of â€œcommand promptâ€ havenâ€™t given enough clue, I am developing rails apps with a Windows machine. Hope this could be a useful tips for those need to make rails apps and carrierwave work in windows 😉