Thu 18 Mar 2010
undefined method ‘remap’ for class ‘Magick::Image’
Posted by kosmas under Dreamhost, linux, ruby on rails
No Comments
Problem
You have just deployed your rails application to dreamhost but you are getting this error from passenger.
Solution
There was a change in the ImageMagic between versions 6.4.3 and 6.4.4 from the affinity function to remap.
If you don’t want, or don’t have time to recompile the ImageMagick and install the rmagick gem, you can comment out the two declarations for the alias functions, located around lines 782 and 1525 in the file rmagick-2.12.2/lib/RMagick.rb:
alias_method :affinity, :remap
No Responses to “ undefined method ‘remap’ for class ‘Magick::Image’ ”