From: Andrew C. <ak...@sh...> - 2002-06-05 22:02:02
|
Hi Brian, > I can't seem to run the Ruby interpreter as a subshell on OS > X. (Ruby is a language kind of like Python.) > > Ruby comes with some .el files that define M-x run-ruby (and all the > usual sub-interpreter commands you'd expect). It works as expected > with the dumb-terminal version of emacs that comes with OS X. M-x > run-ruby doesn't work with the flashier emacs I downloaded (details > below). Other kinds of subshells work. > > The symptom is that when I M-x run-ruby, I get an empty buffer, > rather than a prompt. [...] Could you please try setting the PATH environment variable as suggested by others on the mailing list about a week ago for a similar question on Python? This is necessary since an application started from the Finder does not get the same environment variables set when started from a shell. I suppose you may also need to set certain Lisp variables in the Ruby package. > Specifics: This report is for the precompiled binary I got from > <http://www.cse.cuhk.edu.hk/~akochoi/emacs/21.1/emacs-21.1-mac-bin.smi.bin> This is probably incorrect because that was a binary for OS classic. > "GNU Emacs 21.1.30.3 (powerpc-apple-darwin5.2.2) of 2002-02-10 on > localhost" > [...] Andrew. |