如图:

 

(win 7)使用puma以后,重启rails server报错: in `trap': unsupported signal SIGCHLD (ArgumentError)(win 7)使用puma以后,重启rails server报错: in `trap': unsupported signal SIGCHLD (ArgumentError)

解决方案:

把config/puma.rb 文件中的

workers Integer(ENV['WEB_CONCURRENCY'] || 2)

改成

workers Integer(ENV['WEB_CONCURRENCY'] || 2) unless Gem.win_platform?

相关文章:

  • 2021-07-24
  • 2022-12-23
  • 2022-01-07
  • 2021-09-14
  • 2022-02-04
  • 2022-12-23
  • 2022-01-08
猜你喜欢
  • 2021-04-25
  • 2022-12-23
  • 2022-12-23
  • 2021-08-02
  • 2021-08-23
  • 2021-08-11
  • 2021-07-14
相关资源
相似解决方案