-
Notifications
You must be signed in to change notification settings - Fork 53
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
doesn't work with mini_racer
gem
#125
Comments
What versions or Middleman, Middleman::Sprockets, Sprockets, and MiniRacer are you using? I've set up a minimal app to do some testing, and found that there was a fix in MiniRacer 0.1.7 (that does affect us) to prevent hanging (https://github.com/discourse/mini_racer/blob/master/CHANGELOG#L3-L5). It'll take a bit more digging to figure out what's causing the issue, but hopefully updating MiniRacer fixes the issue for now? |
@stevenosloan I was trying with "latest" everything. You can check the code here (it's open): https://gitlab.com/rubyonrails-brasil/rubyonrails-brasil.gitlab.io/blob/492de52acb399ff961954ae6a0c00f07aeef37d1/Gemfile running it in "development" works, but running the build rake task doesn't. |
Ah great, thanks for that example. Still need to do some digging to see if there's a fix, but it's looking like the |
Here some logs from stuck parallel build:
|
As of version 0.4.0, the mini_racer gem supports a new "single_threaded" flag that fixes this without the need to pass
|
With
therubyracer
it works fine, but not withmini_racer
gem. It 'freezes' and never finishes the build.mini_racer
works perfectly fine with rails sprockets.The text was updated successfully, but these errors were encountered: