Although therubyracer can be set up with Rosetta emulation, there are runtime issues with it. While searching for a solution, I discovered that therubyracer is no longer maintained.
therubyracer should be switched out with another suitable JS runner so that handlebars.rb can be used into the future.