Open brauliobo opened 6 years ago
I don't know much about JRuby, but if it doesn't support fork
then I doubt there's much rerun
can do. Fortunately, rerun
is independent from your own JRuby app; you can install multiple versions of ruby on the same system and use one for rerun
and the other for your own app(s). I see you're using rvm
so I bet there's a way to ask it to run rerun with an MRI Ruby, something like
rvm 2.3.2 do rerun --dir config --pattern '{*,.*}' bin/daemon
(Assuming you have a ruby 2.3.2
in your rvm list
.)
Please let me know how this goes.
Why a fork is needed to execute a separate process? Isn't a thread with Process.wait
enough?
Oh wait, v0.11 was before we switched from fork
/exec
to spawn
. Can you try with the newly-released v0,12?