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