Alex Shulgin
1/14/2008 8:31:00 AM
On Jan 13, 3:10 pm, Vitor Peres <dodecapho...@gmail.com> wrote:
> [Note: parts of this message were removed to make it a legal post.]
>
> On Jan 13, 2008 7:14 AM, Alex Shulgin <alex.shul...@gmail.com> wrote:
>
> > As to ri and irb--I run them from the shell. The only ruby-related
> > thing I love to run from Emacs is 'ruby -rdebug'...
>
> About that... I, particularly, can't get rdebug to work properly with Emacs.
> I don't know if I'm doing anything wrong, but I've got rdebug.el loaded, and
> everytime I call "M-x rdebug", I get a new empty buffer with my ruby file
> preceded by two ^Z, the little arrow pointing to its first line (which is
> also empty). rdebug console also refers to the filename preceded by the two
> ^Z.
> Do you have any tips for that or does it just work?
Hm... I cannot issue `M-x rdebug'--it's not recognized by Emacs,
though rdebug.el is somewhere under site-lisp/... But I use `M-x
gdb', `ruby -rdebug myfile.rb' and then it works smoothly.
It's Debian lenny, GNU Emacs 22.1.1, ruby-1.8.6.
Hope this helps.
--
Alex