life.i.think: GD on OSX and Ruby (stringFT)

GD on OSX and Ruby (stringFT)
Scribbled on February 6th. 0 comments.

After going through the process of building GD in OSX with all the relevant fonts, libraries and what-have-you, I was running into a terribly frustrating problem with Ruby-GD, specifically when trying to use the Captcha gem.


undefined method `stringFT' for GD::Image:Class

Luckily, this can be fixed very simply by:


sudo port install rb-gd
Comments

Leave a response