Gyoung-Yoon Noh wrote:

> It seems to be a sort of quoting args problem on windows CLI.
> Single quoting works as above. (e.g. -e 'puts "hello, world"').
> Double quoting doesn't work. (e.g. -e "puts 'hello, world'')
> I have no idea, except Windows' CLI really sucks.

Depends.  With regular ruby, no quoting issue:

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

d:\development>ruby -e "puts 'Hello!'"
Hello!

d:\development>ruby -e 'puts "Hello!"'
Hello!

-- 
James Britt

http://www.ruby-doc.org       - Ruby Help & Documentation
http://www.artima.com/rubycs/ - The Journal By & For Rubyists
http://www.rubystuff.com      - The Ruby Store for Ruby Stuff
http://yourelevatorpitch.com  - Finding Business Focus