If else statement problem

Perhaps check to see if your version of ImageMagick matches your rmagick gem. I had this problem a few days ago, updating to a newer ImageMagick solved the problem. There is also another fix, where it says it got the wrong type (it’ll be in an rmagick file, I have it as a plugin under my rails directory), open the file at that line and at the end of the statement (it will be a function followed by several params), remove the last param (it’s a true from memory).

I’m doing all this from memory, so sorry if it doesn’t match up, but that also solved the problem for me (and took me quite a while to find :().

Good luck, James