captcha issue

hi all,
i have captcha image on Registration popup but on local the captcha image and code is not coming.
i have install RMagick and gd2 gem also.It gives following error,

MissingSourceFile (no such file to load – GD):
app/controllers/login_controller.rb:385:in sign_up' -e:2:in load’

is anyone who used captcha on local machine ?

thanks in advanced.

hi all,
is any one know how to use captcha on locally ? i am using following ror environment,
ruby 1.8.7 (2011-02-18 patchlevel 334) [i386-mingw32],
Rails 2.3.11

ruby gem version:1.6.2

I used Recaptcha plugin from google and recaptcha plugin

for me it working fine. If u want you can also try.

hi ,
thanks for reply can you please send the steps to used Recaptcha plugin in ROR application ?
It would be really helpful.

register in the below link to get your api key

put below line in your gem file

gem ‘recaptcha’, :require => ‘recaptcha/rails’
put you api keys in config/environment.rb filr
you can verify recaptcha conditions in controller methods by
verify_recaptcha varible
if !verify_recaptcha
#do operations

you can use `recaptcha_tags in any form

  for reference please go through the below link


can you tell me in which gem file i have to put this line

gem ‘recaptcha’, :require => ‘recaptcha/rails’

also, i have getting the public and private keys for live domain so shall those keys are used for

local environment also ? also i read on some site that

Download the zip file for the reCAPTCHA WordPress CAPTCHA plugin.
Unzip the recaptcha folder into your WordPress wp-content/plugins directory.

is this necessary ?


i am now using the reCaptcha plugin in my application but one issue is there when i submit the form value without/with
captcha value in below condition it goes in if only

if !verify_recaptcha



can you know why it is executing if only and not else.