From: Nathan Powell Date: 2008-09-18T00:35:54+09:00 Subject: Re: irb shell exit On Thu, Sep 18, 2008 at 12:27:07AM +0900, Scott Harper wrote: > I am totally new to programming so this may sound stupid, but I would > appreciate help. > > I am following along in the the Simply Rails 2 book and I am entering > classes etc. into the irb shell in the ruby console window. The problem > I am having is that sometimes I enter the wrong command and I can't > figure out how to exit the irb shell. I have tried typing "exit" and > that works sometimes, but sometimes it doesn't. The issue arose once > after I hit the Tab key and the other time i don't think i pressed > anything out of the ordinary. > > Please see screenshot for clarification. It looks like you typed irb twice. Once to get into the shell, and once while in the shell. I see though that you are using windows, and I have no idea how irb works on there, but I would have thought it was similar. npowell@delilah ~ $ irb >> irb >> exit => #, @signal_status=:IN_EVAL, @scanner=#> >> exit npowell@delilah ~ $ > > Can someone please help? > > Thanks! > > Attachments: > http://www.ruby-forum.com/attachment/2706/irb_shell_exit.JPG > > -- > Posted via http://www.ruby-forum.com/. > -- nathan nathan_at_nathanpowell_dot_org Another flaw in the human character is that everybody wants to build and nobody wants to do maintenance. ~ Kurt Vonnegut ------------------------------------