-
Notifications
You must be signed in to change notification settings - Fork 814
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
fork() function is unimplemented on this machine (NotImplementedError) #5238
Comments
Appreciate the strace log. Unfortunately it appears to be cut off (possibly?). Obv Rails in general works (plenty of folks use ruby/rails on WSL1) so whatever it is, the problem is probably going to be specific to your scenario. No repro provided so that's about as far as this one can go. Following up with a minimal repro from semi-clean distro condition would probably identify the fail, but you'll probably get better eyeballs wherever Rail people hang out. |
Sorry, I can't provide more info about this now! |
Great! I came here with good news. |
Hey, I'm getting the same issue. I'm under WSL 2, win 10 build 2004. $ bin/workers
Traceback (most recent call last):
4: from bin/workers:5:in `<main>'
3: from /home/wsl-unix-user/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/sneakers-2.11.0/lib/sneakers/spawner.rb:16:in `spawn'
2: from /home/wsl-unix-user/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/sneakers-2.11.0/lib/sneakers/spawner.rb:16:in `each'
1: from /home/wsl-unix-user/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/sneakers-2.11.0/lib/sneakers/spawner.rb:19:in `block in spawn'
/home/wsl-unix-user/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/sneakers-2.11.0/lib/sneakers/spawner.rb:19:in `fork': fork() function is unimplemented on this machine (NotImplementedError) |
I have the same issue too when trying to test my app with minintest. I'm using a WSL2 Ubuntu 20.04 |
Your Windows build number:
Microsoft Windows [versão 10.0.18363.836] (Windows 10 Pro v1909)
What you're doing and what's happening?
Resp.: I'm running a Ruby on Rails server app inside WSL Ubuntu 20.04 LTS. Not my code, I'm running an API from my job team to develop the frontend. When I was running the same API inside a Multipass instance it just worked.
Ruby : 2.5.1
Rails : 5.2.2
What's wrong / what should be happening instead?
Resp.: It's expected the Rails server works, but it breaks with this message:
fork() function is unimplemented on this machine (NotImplementedError)
Strace of the failing command, if applicable.
Gist : https://gist.github.com/alexbruno/a8def6b8d8e7a4046fdec80fa6c132a3
For WSL launch issues, please collect detailed logs.
WSL Launch is OK.
The text was updated successfully, but these errors were encountered: