From: Bill Guindon Date: 2004-09-18T01:39:51+09:00 Subject: Ruby on WinXP (was Debugging wxruby programs.) On Fri, 17 Sep 2004 16:24:48 +0900, R. Cheung wrote: > Without a DOS/Command window, firstly, I've no idea if it's a syntax > error, secondly, even if it does start, I can't use 'print' to print > out debugging statements to help me find out where I got to and what > went wrong (OK, I can open an auxilliary window and write to that, but > I could lose that window if the app dies). How do you experts debug > wxruby apps? Any help would be appreciated. Yes, it's the old magic disappearing dos box... I went through that years ago when I first picked up perl, and recently repeated it when I decided to learn Ruby. In the hopes of making it easier for other windows users to get up to speed, I've posted some suggestions for setting up WinXP as a Ruby friendly environment. For now, it covers: Customizing a command prompt for testing Fixing the file text search on WinXP Adding Ruby to your path Making ruby scripts executable by name The write ups are written at a beginner level, but some may be useful for more advanced users. You can read them here: http://www.rubygarden.org/ruby?RubyOnWinXP Please let me know if you see any errors, and feel free to add your tips. -- Bill Guindon (aka aGorilla)