Simple captcha image not displaying

Attached is an image of my problem but here goes.
Installed RoR to run Raillist. I installed it per instructions and
everything seems to be working great except I can’t get my captcha
images to show

I am not sure what the problem is as I am a complete noob to RoR.
Any pointers towards a direction to fix would be greatly appreciated!

If you need to the site address is secondlist dot org.

Thank you very much in advance.
-Christine

Christine,

I am the author of Railslist (craigslist clone). Your problem appears
to be an issue with ImageMagick/RMagick. You can resolve it either by
re-installing them or by verifying that it path is correct.

Rails L. wrote:

Christine,

I am the author of Railslist (craigslist clone). Your problem appears
to be an issue with ImageMagick/RMagick. You can resolve it either by
re-installing them or by verifying that it path is correct.

First of all thank you so much for your response. I love this software
and I appreciate the time you took to create it and make it open source.

I have checked some paths but I am wondering now what to do.

I have noticed a discrepancy here:
in simple_captcha_config.rb (/vendor/plugins/simple_captcha/lib/)

def simple_captcha_image_path #:nodoc
"#{RAILS_ROOT}/vendor/plugins/simple_captcha/assets/images/simple_captcha/

However I do not have an images/simple_captcha folder in assets.
(everything else I think is correct or appears to be) So I created it
for grins and giggles as to maybe it needs that folder to temp write the
image (I am grasping at straws so pardon if I make a mistake)

Whereis ImageMagick results with (In case this is needed)
convert: /usr/bin/convert /usr/share/man/man1/convert.1.gz

I am at a loss and am stuck in the weeds. Thanks again for any response
in advance.

Regards,
Christine

YAY!
So I got the captcha working on my own. For information’s sake here’s
how I had to fix the problem.

I went here: http://corefonts.sourceforge.net/ and installed the fonts.

It stuck them in /usr/share/fonts/msttcorefonts but the default path is
not there so I so I just copied the fonts inside that folder to
/usr/share/fonts/default/TrueType reloaded my site and the captcha was
there.

Thank you to anyone who read this and to Railslist for taking the time
to reply. I am thoroughly excited I figured that one out on my own,
though I should have known all along what the problem was.

Regards,
Christine

Christine G. wrote:

YAY!
So I got the captcha working on my own. For information’s sake here’s
how I had to fix the problem.

I went here: http://corefonts.sourceforge.net/ and installed the fonts.

It stuck them in /usr/share/fonts/msttcorefonts but the default path is
not there so I so I just copied the fonts inside that folder to
/usr/share/fonts/default/TrueType reloaded my site and the captcha was
there.

Thank you to anyone who read this and to Railslist for taking the time
to reply. I am thoroughly excited I figured that one out on my own,
though I should have known all along what the problem was.

Regards,
Christine

I posed a question on the group and no one answered. May be they think
it is too silly.
Since you got it figured out. I thought you can help me.

I am running XP. Downloaded simple captcha from expressica, unzipped
into
vendor/plugin. Ran

rake simple_captcha:setup.
Gives me error: rake aborted! don’t know how to build task ‘simple
captcha:setup_old’
I checked rails version by
gem list rails
Gives me rails <2.3.5, 1,2,2>
can you tell me how to fix this?

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs