From: hemant kumar Date: 2006-08-09T12:24:25+09:00 Subject: Re: How many ways can I execute ruby program? Why not? $ ruby blah.rb > foo.log 2> &1 Assuming if you are on Unix. People often, use logger library for logging their Ruby application.If you are on Windowz, then there is one more way, "rubyw", which will not keep the ruby interpretor running in foreground. -----Original Message----- From: list-bounce@example.com [mailto:list-bounce@example.com] On Behalf Of Vijay Patel Sent: Wednesday, August 09, 2006 8:21 AM To: ruby-talk ML Subject: How many ways can I execute ruby program? Hi all, I have to admit this is great language and good people to support it. I am newbie, and learning. I have this question for now. How many ways can I execute ruby program? 1) I know one is IRB (Interactive Ruby). This way is good to test part of the whole program (or full program if it's small). 2) Run the program by typing at command line (in windows) "ruby abc.rb" In this case it runs program called abc.rb and gives output to same window. Now my question is : Can I have my output in some kind of output file instead of command window? Can I have log file, which can show some other display kind of messages only? 3) Is there any other way out there to execute ruby programs? Thanks for taking time. -- Posted via http://www.ruby-forum.com/.