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

H

HiHeelHottie

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,019
Latest member
RoxannaSta

Latest Threads

Top