Ruby Console

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)

 

Advertisements

Tags: , ,

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: