SIGUSR2 not implemented, signal based restart unavailable!

2

I am starting to learn a couple of things for web design, and there is something that does not work. I program in Windows and when I want to start the command rails s I throw this:

**PS C:\Users\Asus\hello_WWW> rails s
=> Booting Puma

=> Rails 5.0.2 application starting in development on http://localhost:3000

=> Run 'rails server -h' for more startup options

*** SIGUSR2 not implemented, signal based restart unavailable!

*** SIGUSR1 not implemented, signal based restart unavailable!

*** SIGHUP not implemented, signal based logs reopening unavailable!

Puma starting in single mode...

* Version 3.8.2 (ruby 2.2.6-p396), codename: Sassy Salamander
* Min threads: 5, max threads: 5
* Environment: development
* Listening on tcp://localhost:3000
Use Ctrl-C to stop**

Reading several articles, I have seen that there is a kind of bug in Windows with what Puma is. Can someone give me a hand? Thanks from now.

    
asked by Micael Cobaski 16.03.2017 в 15:25
source

1 answer

0

Those errors happen mainly due to the lack of fork in windows . One option would be to run puma in a single worker, checking the line config/puma.rb in the file:

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

and change the 2 by 0 , or simply comment the line.
Although another better recommendation is still that you try to program in linux or osx, since with rails for Windows a world of incompatibilities awaits you and this may be just the beginning.

    
answered by 17.03.2017 в 13:15