Using tcltk with cygwin Ruby

Hi Eban,
Thank you for pointing me in the right direction on how to get cygwin ruby
to work with tcl/tk. Just for the benefit of the anyone else interested, in
addition, I had to perform the following:

  1. Installed tcl/tk 8.3.4. The cygwin installation only installs tcl/tk 8.0
    which doesn’t work.

  2. When setting the RUBY_T*_DLL environment variables, they need to be in
    the windows style path. That is,

export RUBY_TCL_DLL=cygpath -w /usr/local/tcl8.3/bin/tcl83.dll
export RUBY_TK_DLL=cygpath -w /usr/local/tcl8.3/bin/tk83.dll

  1. If you don’t want to set the RUBY_T*_DLL environment variables, then
    setting PATH to where the DLLs are also works.

export PATH=/usr/local/tcl8.3/bin:$PATH

Forgive me if I am just pointing out the obvious.

Thanks again,
Chee