If you receive an error in the ruby console, you may find yourself unable to exit with Ctlr C
Control C usually returns you to the top level, but sometimes that will not work. For example
if its waiting on an “end” or a irb session to close and you are not aware of it.
Instead you should be able to exit with control d (Linux) or control z (Windows)
(cltr d and ctlr c works for leaving irb)