From: eden li Date: 2007-05-05T13:39:55+09:00 Subject: Re: Remote IRB shell (embedded in rails) Interesting... although it sounds a bit insecure since you don't authenticate and it's being run in the clear over the wire. I wonder if there's a way to get ruby to tunnel this via ssh. On May 4, 7:37 pm, Charles Lowe wrote: > I wasn't able to find this functionality in rails to begin with, so I > wrote a small wrapper to allow you to provide direct IRB shell access > into any long running app (for debug purposes, or as a way to control a > remote machine). > > In your app, just require irb/server.rb (http://pastie.caboo.se/58859), > then run irb/client.rb (http://pastie.caboo.se/58858), passing it the > DRb url. > > This allows me to run an IRB window on my local machine, with access to > the currently running rails app on my server. > > Hope you find it useful... > > -- > Posted viahttp://www.ruby-forum.com/.