From: Jun Young Kim Date: 2009-04-07T11:12:15+09:00 Subject: Re: Ruby 1.9.1 + Tk problem tested on linux (ruby 1.9.1, tk8.5.3, tcl8.5.3) successful compilation.. but, the script you've suggested require 'tcltklib' ip = TclTkIp.new ip._invoke('button', '.b', '-text', 'TEST', '-command', 'puts OK') ip._invoke('pack', '.b') TclTkLib.mainloop generated the following error. ruby test.rb test.rb:1:in `require': no such file to load -- tcltklib (LoadError) from test.rb:1:in `
' is this different problems? 2009. 04. 07, ¿ÀÀü 6:51, Hidetoshi NAGAI ÀÛ¼º: > 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) > >