If you're using Tk, then try this in irb...

  require 'tk'
  Thread.new { Tk.mainloop }

A window will pop up and the irb prompt will return. You are now free to
type Tk commands interactively and watch the changes in real time.

This trick should work for other GUI mainloops as well.

-- 
  spwhite / chariot.net.au