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