I have started learning Ruby (on Debian Linux) and am at the point to
out of the books and enter the just try and see mode. I was trying to
bring up a very small example program with the graphical TK toolkit.
I have Perl-tk on my machine and it works. All the Ruby examples have a
‘require tk’ to bring in the toolkit, but when I run the very short
examples I get the error message…
./test.rb:3:in `require’: no such file to load – tk (LoadError)
I am sure that I need to point Ruby to TK with some environment variable
or something like that since TK is buried in the Perl subdirectory and
Ruby is not going to find it. (I am assuming that the TK toolkit I am
trying to use is the same one as Perl uses, and not some special Ruby-tk
or TK installed in the Ruby folders).
I am still playing with paths but there is nothing I can find in my
documentation on how to connect TK to Ruby - at least not that I have
found so far. Even installing a copy of TK in the Ruby subdirectory