Closed ddd2283 closed 1 month ago
Hey! Just like with Windows (https://github.com/rails/solid_queue/issues/81), this is not currently something we have planned to address. Maybe if we add a mode to run the supervised processes in the same process... but it's not currently planned.
me$ jruby -S bundle exec bin/rake solid_queue:start
The signal QUIT is in use by the JVM and will not work correctly on this platform
rake aborted!
NotImplementedError: fork is not available on this platform /home/sbc_dev/jruby_gems/gems/solid_queue-0.1.2/lib/solid_queue/supervisor.rb:122:in'
/home/sbc_dev/jruby_gems/gems/bundler-2.5.17/lib/bundler/friendly_errors.rb:117:in '
uri:classloader:/META-INF/jruby.home/bin/bundle:25:in `'
Tasks: TOP => solid_queue:start
(See full trace by running task with --trace)
start_fork' /home/sbc_dev/jruby_gems/gems/solid_queue-0.1.2/lib/solid_queue/supervisor.rb:72:in
block in start_forks' /home/sbc_dev/jruby_gems/gems/solid_queue-0.1.2/lib/solid_queue/supervisor.rb:72:instart_forks' /home/sbc_dev/jruby_gems/gems/solid_queue-0.1.2/lib/solid_queue/supervisor.rb:45:in
supervise' /home/sbc_dev/jruby_gems/gems/solid_queue-0.1.2/lib/solid_queue/supervisor.rb:26:instart' /home/sbc_dev/jruby_gems/gems/solid_queue-0.1.2/lib/solid_queue/supervisor.rb:14:in
start' /home/sbc_dev/jruby_gems/gems/solid_queue-0.1.2/lib/solid_queue/tasks.rb:4:inblock in <main>' org/jruby/ext/monitor/Monitor.java:82:in
synchronize' /home/sbc_dev/jruby_gems/gems/bundler-2.5.17/lib/bundler/cli/exec.rb:58:inkernel_load' /home/sbc_dev/jruby_gems/gems/bundler-2.5.17/lib/bundler/cli/exec.rb:23:in
run' /home/sbc_dev/jruby_gems/gems/bundler-2.5.17/lib/bundler/cli.rb:455:inexec' /home/sbc_dev/jruby_gems/gems/bundler-2.5.17/lib/bundler/vendor/thor/lib/thor/command.rb:28:in
run' /home/sbc_dev/jruby_gems/gems/bundler-2.5.17/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:ininvoke_command' /home/sbc_dev/jruby_gems/gems/bundler-2.5.17/lib/bundler/vendor/thor/lib/thor.rb:527:in
dispatch' /home/sbc_dev/jruby_gems/gems/bundler-2.5.17/lib/bundler/cli.rb:35:indispatch' /home/sbc_dev/jruby_gems/gems/bundler-2.5.17/lib/bundler/vendor/thor/lib/thor/base.rb:584:in
start' /home/sbc_dev/jruby_gems/gems/bundler-2.5.17/lib/bundler/cli.rb:29:instart' /home/sbc_dev/jruby_gems/gems/bundler-2.5.17/exe/bundle:28:in
block inwith_friendly_errors' /home/sbc_dev/jruby_gems/gems/bundler-2.5.17/exe/bundle:20:in