Hi Ruby experts,
I'm working on some code to resize an image in my web app. My hosting provider has support for RMagick, so I've decided to use that library. I am developing the app on my Windows XP machine, running Apache with FastCGi.
I created an RMagick script that runs fine from the command prompt. When I try to require 'RMagick' from inside my Model class, I get a nasty error:
RMagick documentation states that this error is NOT in fact a missing RMagick.so (which exists in that location), but a dependent ImageMagick library.The specified module could not be found. - C:/path-to-ruby/lib/ruby/gems/1.8/gems/rmagick-1.14.1-win32/ext/RMagick.so
In the windows install, it added the ImageMagick directory to my system's PATH, which fixed an identical error that was previously happening from my command prompt script. However, I don't know how to do a similar thing, adding the ImageMagick directory to a rails path of some sort.
Can someone please help me out on this?
Thanks in advance.