From: Navindra Umanee Date: 2005-02-01T06:28:08+09:00 Subject: Re: interacting with ruby program Florian Gross wrote: > Yup, it's available as part of the Rails package, but I can also mail it > to you privately. Thanks. I installed gems and rails. I see you're the author of breakpoint. It's just beautiful! I have to admit I'm rather disappointed in gems though. It seems exceedingly ugly that you have to do: require 'rubygems' require_gem 'rails' to use anything that is gem-installed. Can't seem to get breakpoint_client working yet, my client hangs but if I telnet to the drb port, the server seems to be active. Without "Breakpoint.activate_drb", it works as expected from standard input/output. require 'rubygems' require_gem 'rails' require 'breakpoint' Breakpoint.activate_drb Thread.new do loop do begin breakpoint rescue Exception end end end boo="boo" while true p boo sleep 2 end [vinata] [/tmp] telnet localhost 42531 Trying 127.0.0.1... Connected to localhost (127.0.0.1). Escape character is '^]'. boo Fo:DRb::DRbConnError:bt[?"//usr/lib/ruby/1.8/drb/drb.rb:570:in `load'"7/usr/lib/ruby/1.8/drb/drb.rb:600:in `recv_request'"7/usr/lib/ruby/1.8/drb/drb.rb:899:in `recv_request'"