Handlebars.rb
This uses therubyracer to bind to the actual JavaScript implementation of Handlebars.js so that you can use it from ruby.
Hack
git clone git@github.com:cowboyd/.rb.git #git it
cd .rb #go to it
git submodule update --init #pull down handlebars.js
rspec spec/ #test it
Use
require 'handlebars'
template = .compile("{{say}}{{what}}")
template.call(:say => "Hey", :what => "Yuh!") #=> "Hey Yuh!"