From: willchinelato
I believe there's a bug in the Gravatarify gem.
I'm using Sinatra + Haml and when I require Gravatarify, its helpers methods doesn't get included in Haml::Helpers.
As a noticed, this happens because ActionSupport gets detected first, causing Haml::Helpers inclusion to be ignored. I guess you could solve this problem by removing the defined?(ActionSupport), but I didn't take the time to analyze the impact.
Anyway, as a temporary solution, I manually included Gravatarify::Helpers in Haml::Helpers:
Haml::Helpers.send(:include, Gravatarify::Helper) if defined?(Haml)
Despite this little problem, this gem helps a lot.
Thanks.