A
anne001
I installed tcltk from
http://prdownloads.sourceforge.net/tcltkaqua/TclTkAquaBI-8.4.9.0.dmg?download
I reinstalled ruby 1.8.3 on mac 10.3 with the option
../configure --enable-pthread --enable-mac-tcltk-framework
rubycocoa gives me "No such file to load -- tcltklib (LoadError)"
I find references to a readme file in ext but I don't know where that
ext directory is on the mac. How do I find the library and set the path
on my mac?
I got a snipet from ruby developer's which runs at the ruby command
line, but not ruby cocoa.
require 'tk'
root = TkRoot.new
button = TkButton.new(root) {
text "Hello,Anne"
command proc { puts "I said"}
}
button.pack
Tk.mainloop
rubycocoa does work with puts "hello".
thank you for your help
http://prdownloads.sourceforge.net/tcltkaqua/TclTkAquaBI-8.4.9.0.dmg?download
I reinstalled ruby 1.8.3 on mac 10.3 with the option
../configure --enable-pthread --enable-mac-tcltk-framework
rubycocoa gives me "No such file to load -- tcltklib (LoadError)"
I find references to a readme file in ext but I don't know where that
ext directory is on the mac. How do I find the library and set the path
on my mac?
I got a snipet from ruby developer's which runs at the ruby command
line, but not ruby cocoa.
require 'tk'
root = TkRoot.new
button = TkButton.new(root) {
text "Hello,Anne"
command proc { puts "I said"}
}
button.pack
Tk.mainloop
rubycocoa does work with puts "hello".
thank you for your help