How to stop webrick daemon

Tom wrote in post #109027:

...

I usually do this:

ps aux | grep ruby kill -9 [PID]

Where PID is the process ID you get from doing the PS command. There might be a better way.

-Tom

Thank you Tom

The usual way to start webrick in RoR is with the command:

$ rails s

and the usual way to stop it is to enter CTRL-C in the same window.