Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Ruby

Kleovrotos Tsimperis
PLUS
Kleovrotos Tsimperis
Courses Plus Student 13,831 Points

Rails server

When I create a new project and cd into it and run 'rails server' with git bash or bin/rails s the following comes up. Note: using Windows 10 with git bash

LAPTOP-IFPF6SAD MINGW64 /c/Sites/blog (master) $ bin/rails server => Booting Puma => Rails 5.1.4 application starting in development => 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.11.0 (ruby 2.3.3-p222), codename: Love Song
  • Min threads: 5, max threads: 5
  • Environment: development
  • Listening on tcp://0.0.0.0:3000 Use Ctrl-C to stop

localhost:3000 opens up. But what are the SIGUSR2/1 AND SIGHUP? What should I do here?

1 Answer

Brandon McClelland
Brandon McClelland
4,645 Points

This is telling you that WSL doesn't support signals to restart and reopen logs that Puma can use in Linux or OSX environments. Probably not a big deal unless you specifically need to do those things.

You can read more about it here: https://en.wikipedia.org/wiki/SIGHUP