Topic: Gruff Charts -- Setting Font
I have an app on a shared host so I can't guarantee much. I froze the Gruff gem into my lib directory and copied the Vera font files to my public directory. I then used the code:
g.font = '/path/to/my/Vera.ttf'
Where g is a Gruff::Bar.
First strange thing: The gruff gem code from the shared host's installation (Gruff 0.1.2) is being used instead of the one I have in lib (Gruff 0.2.8). Is there something I should do to tell Rails not to load the Gem, but instead to prefer my lib version?
Second, will setting f.font actually pick the right font (assuming I specify the path correctly) if called immediately prior to g.to_blob?