Closed
Description
I'm not sure, if this is the right place to put in here. childprocess
is used by selenium-webdriver
(see https://rubygems.org/gems/childprocess/reverse_dependencies)
selenium-webdriver
gem is used by many testing libraries such as capybara
. childprocess
is not under active maintenance. In fact, a new maintainer is needed (enkessler/childprocess#131).
The issue is, it uses fork under TruffleRuby (which is not supported).
Backtrace:
NotImplementedError: fork is not available
<internal:core> core/kernel.rb:764:in `fork’
truffleruby-head/gems/childprocess-4.1.0/lib/childprocess/unix/fork_exec_process.rb:20:in `launch_process’
truffleruby-head/gems/childprocess-4.1.0/lib/childprocess/abstract_process.rb:81:in `start’
Workaround: export CHILDPROCESS_POSIX_SPAWN=1
, see #1525 (comment)