What is the correct procedure to run the Ruby example on page 153 from the pickaxe book? Thanks. ERA ---------- Original Message ---------------------------------- From: Ron Jeffries <ronjeffries / acm.org> Reply-To: ruby-talk / ruby-lang.org Date: Sat, 17 Mar 2001 23:10:03 +0900 >Hi Gang, > >I've been through the newsgroup and the web sites and could use some >help with Tk in Windows. Does anyone have Conrad's widget demo running >on Win 2000? > >When I run widget, I get a stack problem: > > from /cygdrive/c/ruby/lib/ruby/1.6/tk.rb:811:in `_invoke' > ... 736 levels... > from ./tkencoding.rb:25:in `_invoke' > from /cygdrive/c/ruby/lib/ruby/1.6/tkafter.rb:14 > from C:\ruby\samples\tk\demos\widget:14:in `require' > from C:\ruby\samples\tk\demos\widget:14 > >This seems to be caused by requiring tkafter, if I remove that then I >get the problem a little later, caused by tkencoding. If I remove >that, I get > command not found: cat ./button.rb >which I suppose would be trivial to get around if I had a clue what >"cat' is. > >So, anyway, is there a windows version of this stuff? > >Or am I on the wrong track entirely? What I'm trying to do, with Chet >Hendrickson, is prepare for a demo we're doing at Software >Development. We just need a fairly simple GUI, with a list box, a text >box, some scrolling, simple menus, etc. > >I'm finding translating between the Perl/Tk and Ruby to be a bit hard >for those first bites. > >Thanks, > >Ron > >Ronald E Jeffries >http://www.XProgramming.com >http://www.objectmentor.com >