Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

therubyracer dependency makes handlebars.rb incompatible with Apple M1 processors #52

Open
rosatolen opened this issue Nov 17, 2021 · 3 comments

Comments

@rosatolen
Copy link

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.

@gi
Copy link

gi commented Dec 8, 2021

For anyone attempting to fix this issue, be aware of the known issue with execjs and mini_racer. These libraries can likely be used, but the communication method between Ruby and JS needs to be altered.

See rubyjs/mini_racer#183

@feldpost
Copy link

feldpost commented Jan 27, 2022

If you are interested, we have ported handlebars.rb to mini_racer: https://github.com/combinaut/minibars

@gi
Copy link

gi commented Jan 27, 2022

I also wrote an implementation using mini_racer: https://github.com/gi/handlebars-ruby.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants