![]() ![]() You can also find the delegates manually on the ImageMagick site and install them one by one but that library pretty much covered it for me. I was able to run: yum install ImageMagick-develĪnd then recompile ImageMagick with make, make install and it worked. I had another Linux server where ImageMagick was working and after comparing the two I realized the new one had only 2 delegates installed. You can probably look up that error and get it figured out, but basically what I did was go to usr/local/bin and run: (also not necessary, unless you want to see what you have installed) convert -list configureĪnd look for the DELEGATES line. This allowed me to see the errors on the command line when running the "identify" command.īasically the error said: "no decode delegate for this image format" Model location.rb class Location ")Īlong with the corresponding "end" statement. ImageMagick must be installed with the development headers option and the system path option. ImageMagick-6.9.1-3-Q16-x86-dll.exe) Install ImageMagick. The solution was to add -with-shared to my configure options. so files installed as you can see from the 'ls' in the original question). MODEL (I am updating a classroom object, but the picture resides in the location model. RMagick was unable to find ImageMagick because I neglected to build the shared objects (there were no. Gemfile.lock (relevant portion) paperclip (3.4.1) I have investigated several possibilities, but have none of the suggested solutions have worked in my case.ĭevelopment.rb contains appropriate path (and I have verified that it is correct using which identify) Paperclip.options = "/usr/local/bin/" Recently, my image uploader has stopped working properly. For different archived versions, see here. sudo apt-get install imagemagick sudo apt-get install libmagickcore-dev libmagickwand-dev. Supposedly, ImageMagick v6.7.9.9 is the latest version that will work. The version that worked for me with Ruby v1.9.3v484 and Rails v4.0.4 was ImageMagick v6.7.7.9, 32-bit (direct download here). I have been banging my head against this for several days. The solution for me was to use brew install imagemagick6 which gave me ImageMagick -v 6.9.7-5 which allowed me to successfully install the gem. Install a compatible version of ImageMagick on your Windows machine. RMagick is an interface between the Ruby programming language and the ImageMagick image processing library. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |