On 2005-01-31, Navindra Umanee <navindra / cs.mcgill.ca> wrote:
> Are there any nice or existing solutions for attaching to a running
> Ruby process and changing the code on the fly from the console?
>
> Like, say I want to update a variable or modify a method for a Ruby
> program that is already running.  I guess maybe the Ruby program would
> have to allocate a thread/socket for eval requests...  it would be
> nice if someone already solved this.

I work on something like this. I just named my app interact.rb, which
sounds hopefully, eh?

Now it's by-and-large useable, but needs some cleanup, and I have things
to do with higher priority than this (both ruby-related and
non-ruby-related), so I don't yet feel like making it public, and won't
feel like that tomorrow either. (I hope I'll be able to get a grasp on
it in one or two weeks or so).

If you'd like to take a look at it, drop me a line to

"chenk / rubbish.ucalgary.ca".sub(/rubbish/,"math")

Csaba