[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: executing Ruby from Emacs buffer
From: |
Peter Dyballa |
Subject: |
Re: executing Ruby from Emacs buffer |
Date: |
Thu, 10 May 2012 16:18:10 +0200 |
Am 10.05.2012 um 12:28 schrieb ishi soichi:
> (region-beginning) (region-end) "ruby" nil buf nil)
Assume you have two ruby binaries on your system. One of them, installed via
Fink or Macports or such, is configured to use the gem library, the other,
Apple's one, not. In shell you could invoke 'which ruby'. Then substitute the
simple "ruby" string with the absolute pathname returned in shell. Could be
this works better...
--
Greetings
Pete
Computers are good at following instructions, but not at reading your mind.
- D. E. Knuth, The TeXbook, Addison-Wesley 1984, 1986, 1996, p. 9