From: Hidetoshi NAGAI Date: 2009-04-07T06:51:13+09:00 Subject: Re: Ruby 1.9.1 + Tk problem From: Diego Virasoro Subject: Ruby 1.9.1 + Tk problem Date: Mon, 6 Apr 2009 19:34:21 +0900 Message-ID: > I have a Ruby/Tk code that runs perfectly in 1.8.x but stalls in > 1.9.1. > > Doing some investigation it seems that even the very basic programs: > require 'tk' > > (that's not a mistake... it's literally only the require line) ends up > freezing the program. Anyone has any idea on what could be the > problem? > > I am running Mac Os X 10.4 (Tiger), on a G4 machine. I'm very sorry, but I cannot check troubles on Mac OSX. I need main information (trial and error) to fix troubles. First of all, does the following work fine? --------------------------------------------------------------------- require 'tcltklib' ip = TclTkIp.new ip._invoke('button', '.b', '-text', 'TEST', '-command', 'puts OK') ip._invoke('pack', '.b') TclTkLib.mainloop --------------------------------------------------------------------- -- Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp)