From: Karl Lopes Date: 2001-04-27T15:34:38+09:00 Subject: [ruby-talk:14300] Re: Ruby on Windows problem Nope the irb.bat file points to the irb file which is in bin. I looked at the src for that. require "irb/main". If I specify a it works, but if I want to run it command line without any filename it does not. Shouldn't I be able to run it in interactive mode from the command line? if __FILE__ == $0 IRB.start(__FILE__) else # check -e option if /^-e$/ =~ $0 IRB.start(__FILE__) else IRB.initialize(__FILE__) end end The reason why rd2 was not working was that the Windows installer did not create a .bat file or set the HOME env variable. Thanks Karl. --- JJ wrote: > Is irb being started using rubyw (which doesn't have > stdin, stdout, and > stderr)? Perhaps through a file association? > ===== Karl I Lopes __________________________________________________ Do You Yahoo!? Yahoo! Auctions - buy the things you want at great prices http://auctions.yahoo.com/