如何在Windows上运行Sidekiq

时间:2017-03-03 15:04:11

标签: ruby-on-rails ruby windows sidekiq

今天我试图用我所有的Rails环境设置我的Windows 10机器。在尝试运行bundle exec sidekiq命令以启动Sidekiq时,我收到以下错误:

enter image description here

似乎'daemon()函数未在此计算机上实现'。我的第一个猜测是,Windows中的进程不作为守护进程运行,而是作为服务运行?

环境:

  • Windows 10
  • Ruby 2.3.0 x64
  • 的devkit

尝试删除-d选项,但我得到同样的错误。

1 个答案:

答案 0 :(得分:0)

您无法在Windows上进行守护程序。 Daemonizing是旧版Unix系统的遗留选项,仅支持init.d,现代系统不再推荐使用它。