Need to replace some tokens?  This is all you need (Ruby 1.9+).  Just a few lines; no extra dependency needed.