Support ERB

Had to tweak the top-level Gemfile and upgrade the test app's gems to be able to install everything - I can split those into separate PRs if you really want.