P
petermichaux
Hi,
I tried to run the one line script tk.rb
require 'tk'
and saw the following error
$ ruby tk.rb
/usr/local/lib/ruby/1.8/tk.rb:7:in `require': No such file to load --
tcltklib (LoadError)
from /usr/local/lib/ruby/1.8/tk.rb:7
from tk.rb:1:in `require'
from tk.rb:1
I don't know if it matters but I can run the following command without
error
$ tclsh
%
What do I do? Do I install tk as a gem?
Thanks,
Peter
I tried to run the one line script tk.rb
require 'tk'
and saw the following error
$ ruby tk.rb
/usr/local/lib/ruby/1.8/tk.rb:7:in `require': No such file to load --
tcltklib (LoadError)
from /usr/local/lib/ruby/1.8/tk.rb:7
from tk.rb:1:in `require'
from tk.rb:1
I don't know if it matters but I can run the following command without
error
$ tclsh
%
What do I do? Do I install tk as a gem?
Thanks,
Peter