I haven't used this in several years, but the tk_as_gem gem used to work to
add Tk to an existing Ruby.

(It would be advisable to just upgrade to a newer Ruby; they general have
Tk included.)


On Tue, Oct 29, 2013 at 10:35 AM, Ronald Fischer <lists / ruby-forum.com>wrote:

> I have Ruby 1.8.6 and gem 1.3.4 both on SUSE Linux and on Mac OSX 10.4
> (Tiger). Both seemingly don't have the 'tk' module:
>
> require 'tk'
> LoadError: no such file to load -- tk
>
> Which gem do I need to install for getting Tk? I tried
>
> gem install tk
>
> but no such gem was found.
>
> --
> Posted via http://www.ruby-forum.com/.
>