terminate rails server code example Example: how to stop rails server #from the terminal, type: (CTRL) + C