From: Marcin Raczkowski Date: 2007-05-05T18:48:23+09:00 Subject: Re: Remote IRB shell (embedded in rails) On Saturday 05 May 2007 04:39, eden li wrote: > 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. > ssh remote host irb or is it to simple for you? but well it's insecure - but you can always add authentication and do it over ssl > 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/. -- Marcin Raczkowski --- Friends teach what you should know Enemies Teach what you have to know