From: Sander Land Date: 2006-09-09T03:48:16+09:00 Subject: Re: Ruby on Windows. On 9/8/06, Henry Savr wrote: > I have two problems with my Ruby for Windows (1.8.4): > > 1. When I double-click on a file with .rb extention a DOS-like window > appears and dissapears immediately. I am not able to see results. You need to open a command prompt and run it from there. Try installing a shell extension with a "open command prompt here" option if you need this a lot. > 2. The Windows command (which should work as it's UNIX parent) > > echo 'puts "Hello"' | ruby >echo 'puts "aa"' 'puts "aa"' The cmd echo apparently includes the quotes, resulting in a string which is valid ruby code but doesn't output anything. Try: >echo puts "aa" | ruby aa >ruby -e 'puts "aa"' aa