[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Ruby evaluation.
From: |
Pascal J. Bourguignon |
Subject: |
Re: Ruby evaluation. |
Date: |
Wed, 08 Dec 2010 15:29:44 -0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) |
A Soare <alinsoar@voila.fr> writes:
> I am interested whether there is a possibility to run an evaluator
> of Ruby in emacs.
>
> I find nothing useful on wiki, etc.
The command is M-x run-ruby RET
See:
http://lisp.tistory.com/entry/Rubymode-in-Emacs
Also, to be able to C-x C-e ruby expressions from any .rb files, you can use:
http://www.informatimago.com/develop/emacs/emacs/pjb-ruby.el
with:
(setf inferior-ruby-first-prompt-pattern "^\\(irb\\(.*\\)[>*\"']
*\\|(rdb:[0-9]*) \\)")
(setf inferior-ruby-prompt-pattern "^\\(irb(.*)[0-9:]+[>*\"']
*\\|(rdb:[0-9]*) *\\)+")
--
__Pascal Bourguignon__ http://www.informatimago.com/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: Ruby evaluation.,
Pascal J. Bourguignon <=