Reading the erubis docs more closely, we should be using `erb.evaluate` over `erb.result` for vaious reasons.  I'll raise an issue...