C
Chris Gehlker
I'm running ruby 1.8.5 (2006-09-10) [powerpc-darwin8.7.0] and when I
try they little simple Tk application on the first page of the Ruby
Tk chapter of the Pickaxe Book I get:
~ $ ruby -w TK.rb
/tk.rb:7: uninitialized constant TkRoot (NameError)
from TK.rb:6:in `require'
from TK.rb:6
However if I run the pre-installed ruby that came with Tiger like:
~ $ /usr/bin/ruby -w TK.rb
I get a nice little window with "Hello World!" in it as well as ruby,
File and Edit menus. The archives seem to have quite a bit of
discussion of this issue but I couldn't find any resolution. Did
anyone figure out how Apple got Tk working?
try they little simple Tk application on the first page of the Ruby
Tk chapter of the Pickaxe Book I get:
~ $ ruby -w TK.rb
/tk.rb:7: uninitialized constant TkRoot (NameError)
from TK.rb:6:in `require'
from TK.rb:6
However if I run the pre-installed ruby that came with Tiger like:
~ $ /usr/bin/ruby -w TK.rb
I get a nice little window with "Hello World!" in it as well as ruby,
File and Edit menus. The archives seem to have quite a bit of
discussion of this issue but I couldn't find any resolution. Did
anyone figure out how Apple got Tk working?