From: Jeffrey Moss Date: 2005-08-11T05:20:48+09:00 Subject: Re: Emacs commands for running Ruby code I use ruby GUD mode, M-x rubydb Then you need to type in the filename That way you can use GUD commands like insert breakpoint, although I haven't found a good way to restart the app. -Jeff ----- Original Message ----- From: Newsgroups: comp.lang.ruby To: "ruby-talk ML" Sent: Wednesday, August 10, 2005 2:16 PM Subject: Emacs commands for running Ruby code > Hi all, > > I have a question about running Ruby code with emacs. > I figured out how to run a simple program, but I wonder if I am doing > it the right way > > First I start an IRB process like this: > M-x run-ruby > > Then I run the sourcefile: > M-x ruby-load-file > Load Ruby file: (default Test.rb) c:/Program Files/Gnu Emacs > 21.3/bin/Test.rb > > > Is this the way I should run ruby code? Or is there a better way? > > Thanks in advance for any helpful hints. > > Best regards, > Francis > >