From: Jeff Everett Date: 2006-04-11T00:15:22+09:00 Subject: Re: a newbie. not getting run a script San, Could you give us a little more information on this, like your system info and a listing of the code you're trying to run? It sounds like you have irb running, so ruby is there somewhere. Try: ruby -v just see which version of ruby you have and that it will respond at all. Then type your program in Notepad ( I'm guessing your on Windows ) or some other editor and save it in a file myprogram.rb. Then you should be able to: ruby /path/to/myprogram.rb And let us know what the result is, error or whatever... Jeff On 4/10/06, san wrote: > thanks henon > > but actually i have tried with the puts... > i suppose i am not giving a command to invoke the program. let me > explain: > > i have installed the irb.. somewhere in c:programfiles.... > run irb from start menu > in text editor i type out a program *.rb > now where do i need to save OR > how do i give a proper path to run the *.rb file > > thanks in advance > san > > -- > Posted via http://www.ruby-forum.com/. > >