Follow Along as I Stumble on the Path to Learning RoR

Stuck in the IRB (Interactive Ruby Shell)

This is incredibly stupid, but I got stuck in the IRB the other day and couldn’t exit.

The prompt looked like this:

irb(main):003:0/

instead of 

irb(main):003:0>

So I couldn’t exit no matter command I typed.  After searching on the internet for quite awhile, I found the answer to be not a text command, but CNTL-key + C.  Hopefully this saves someone else time if they can’t seem to exit from the IRB.

Advertisements

Comments are closed.