Currently there are at least 2 bug reports against ruby tcltk module which
say that even some simple ruby scripts using ruby tcltk cause ruby crash:
Also I tried /usr/share/doc/ruby-tcltk-188.8.131.529/tk/sample/demos-en/widget
but this also causes segfault. So it seem that currently Fedora's tk support
on ruby is completely broken.
We now use ruby 1.8.6.x branch, however looking at
ext/tk codes for 1.8.6.x branch are generally 2 years old and it looks that
these codes are not so much maintained. So instead of using 1.8.6.x branch
ext/tk, I propose to replace ext/tk tree with that of ruby_1_8 branch, i.e.
as suggested by one of the ext/tk tree authors:
(note: the above url is in Japanese).
For now I tried to use 1.8.6p399 tarball + ext/tk directory of ruby_1_8 branch head
and the trial rpms are:
It seems that with these rpms the above 2 bugs are fixed and
( /usr/share/doc/ruby-tcltk-184.108.40.2069/tk/sample/demos-jp/widget has
some easy iconv related mistakes and need fixing ).
I want to push these rpms if there are no terrific errors on these
rpms. Any suggestions or opinions are welcomed.