Load a Handlebars template, which is wrapped an a CoffeeScript AMD block, via require.js. Remove the handlebars_assets gem which conflicted with that AMD block. Add require.js' text.js plugin (available via the MIT or new BSD license). Bundle update.