Ctl-C — Stop a unix process

8) Ctl-C — Stop a unix process

Although the Background keystroke (#7) tells you “Stopped,” it is, in fact, Ctl-C that is the correct way to exit (also known as “stop” or “terminate”) out of a Rails app. When Rails boots, it tells you this in fact:

Booting puma Rails loading default behavior showing puma booting
Rails default boot

Ctl-C will send the terminate signal to the app and it will shut down with:

Rails Exiting
Rails shutdown with Ctl-C