From: Hugh Sasse Date: 2005-11-17T03:27:48+09:00 Subject: Re: interactive shell on windows On Thu, 17 Nov 2005, py wrote: > Matthew Desmarais wrote: > > No kidding! Where did it say that? > > Well for the One-Click installer for Windows, version 1.8.2-15 includes > ProgrammingRuby.chm (under the ruby directory). > > In that help file look under Preface/Running Ruby/Interactive Ruby > ....copied/pasted below... > > [excerpt] > "Interactive Ruby > > The easiest way to run Ruby interactively is simply to type ``ruby'' at > the shell prompt. > > % ruby > puts "Hello, world!" > ^D > Hello, world! > [/excerpt] > > See :) But you said: After typing "ruby" i type, puts "Hello world!" ....but I dont see Hello world! printed out. So did you type the end-of-file mark for your system (which is what ctrl-d means on unix)? Then read 7 short paragraphs and you meet IRB, which has it's own champter in the contents. > Hugh