I just installed the simple_captcha gem for my ruby on rails application. When I run it, I see this error in my console:
StandardError (Error while running convert: Magick: unrecognized gravity type `'
Center'' @ error/convert.c/ConvertImageCommand/1589.
):
I've opened the ruby file with this piece of code in it:
Code: Select all
params = ImageHelpers.image_params(SimpleCaptcha.image_style).dup
params << "-size #{SimpleCaptcha.image_size}"
params << "-wave #{amplitude}x#{frequency}"
params << "-gravity 'Center'"
params << "-pointsize 22"
params << "-implode 0.2"
Thx,
Mathew