P
Paul
Hi,
[Solaris 8]
I tried running the scripts under ruby-1.8.1/ext/tk/sample/demos-en/
and none of them seem to work:
~/ruby-1.8.1/ext/tk/sample/demos-en> ruby filebox.rb
filebox.rb:14: uninitialized constant TkToplevel (NameError)
So I edit filebox.rb and add 'require tk', and re-run:
/export/users/paul/local/lib/ruby/1.8/tk.rb:1623:in `__invoke':
unknown option "-positionWindow" (RuntimeError)
from /export/users/paul/local/lib/ruby/1.8/tk.rb:1623:in
`_invoke'
from /export/users/paul/local/lib/ruby/1.8/tk.rb:1027:in
`tk_call'
from /export/users/paul/local/lib/ruby/1.8/tk.rb:3848:in
`configure'
from /export/users/paul/local/lib/ruby/1.8/tk.rb:3783:in
`method_missing'
from filebox.rb:18
from filebox.rb:15:in `new'
from filebox.rb:15:in `new'
from filebox.rb:15
Has anyone got any of these demos to work??!!! On a positive note, I
can get almost all of the scripts under ~/ruby-1.8.1/ext/tk/sample to
work fine.
Paul
[Solaris 8]
I tried running the scripts under ruby-1.8.1/ext/tk/sample/demos-en/
and none of them seem to work:
~/ruby-1.8.1/ext/tk/sample/demos-en> ruby filebox.rb
filebox.rb:14: uninitialized constant TkToplevel (NameError)
So I edit filebox.rb and add 'require tk', and re-run:
/export/users/paul/local/lib/ruby/1.8/tk.rb:1623:in `__invoke':
unknown option "-positionWindow" (RuntimeError)
from /export/users/paul/local/lib/ruby/1.8/tk.rb:1623:in
`_invoke'
from /export/users/paul/local/lib/ruby/1.8/tk.rb:1027:in
`tk_call'
from /export/users/paul/local/lib/ruby/1.8/tk.rb:3848:in
`configure'
from /export/users/paul/local/lib/ruby/1.8/tk.rb:3783:in
`method_missing'
from filebox.rb:18
from filebox.rb:15:in `new'
from filebox.rb:15:in `new'
from filebox.rb:15
Has anyone got any of these demos to work??!!! On a positive note, I
can get almost all of the scripts under ~/ruby-1.8.1/ext/tk/sample to
work fine.
Paul