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?
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?
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.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.