I am working on an old project, which has developed long back using rails 1.1.6 version. Now there is a small maintance work on that. So i am getting an error while loading the page, where there is a captcha to be loaded. No such files to load -- GD
Am not able to start the applciation. I don't know how to include the GD support. Is it through gem?
Any help is highly appreciated. Thanks in advance"
Thanks for the help Jason, well i tried to install ruby-gd first but i got the following error http://pastie.org/400819
I was not able to fix the issueâ€¦ So tried by installing the gem gd2. But the following line of code is causing the problem i guess, since it was not able to find the class GD::Image im = GD::Image.new(image_width, image_height)
Does GD2 is having a class called GD::Image or do i have to use ruby-gd library itself?
Any help is highly appreciated.
Thanks in advance, nithyâ€
Here's the rdoc for GD2: http://gd2.rubyforge.org/rdoc/
The error you got was because @ruby-gd@ is not a pure ruby one, and therefore has to be linked against libgd - you probably have to provide the @--with-gd-dir@ option set to your GD install directory.