NT Emacs, Cygwin Ruby, and M-x run-ruby

Hello,

Has anybody gotten NT emacs, cygwin ruby, and M-x run-ruby to work?

I’ve tried the following,

(defvar ruby-program-name “bash -c “irb --inf-ruby-mode”” “*Program
invoked by the run-ruby command”)

and get the following in the ruby window,

–inf-ruby-mode": -c: line 0: unexpected EOF while looking for matching
`"’
–inf-ruby-mode": -c: line 1: syntax error: unexpected end of file

Process ruby exited abnormally with code 2

Within a shell window in emacs, I’m able to run bash -c “irb
–inf-ruby-mode” fine. If I try bash -c irb --inf-ruby-mode, I don’t
see
the irb prompt.

Thanks for any help,

Tamara