Results 1 to 4 of 4
Jan 3, 2007, 13:45 #1
- Join Date
- Jul 2005
- 0 Post(s)
- 0 Thread(s)
Rails, RMagick, and Windows - please help
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:
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.