On Wed, 2007-12-05 at 22:25 +0100, Leo Chan wrote:
> I am running into a problem with Godaddy's Ruby on Rails (shared
> hosting) when trying to use simple captcha plugin with Rmagick.  Here is
> the error:
> sh: line 1: gs: command not found

Hey Leo -

FWIW, I did a captcha thing for a client a while back.  Rather than
trying to set up a bunch of stuff on the server to generate the images
in realtime, I generated a couple thousand images on my workstation
along with the SQL necessary to load them up (e.g., INSERT INTO captcha
(filename, word) VALUES ('1.jpg', 'zgysd998')).  Then I put the files on
the server in a directory that Apache could access, loaded up the SQL,
and wrote a little code to generate the img tag and whatnot.  

It was nice and fast since the images were just static files, and we
could repopulate the table with new captchas just by rerunning a script.
Food for thought, anyhow...

Yours,

Tom
http://generatingparserswithjavacc.com/




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Deploying Rails" group.
To post to this group, send email to rubyonrails-deployment@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-deployment?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to