Does ruby 1.9.2 support tk?

I invoke it using require ‘tk’ and I get file not found

does 1.9.2 support tk?

Joe

Joe C. wrote in post #1021337:

I invoke it using require ‘tk’ and I get file not found

does 1.9.2 support tk?

Hello Joe,

Will be great if you read this before asking questions:

http://catb.org/~esr/faqs/smart-questions.html

Without you telling us what OS you’re using, we can’t provide you a
proper answer, so I’m going to shoot in the dark.

Yes, it does, as long you have Tk/tcl installed prior the installation
and compilation of Ruby.

A more accurate answer could be provided with a more precise question.


Luis L.

I run ruby under ms windows xp in an msdos cmd window…hope that helps.

Joe

Joe C. wrote in post #1021502:

I run ruby under ms windows xp in an msdos cmd window…hope that helps.

RubyInstaller includes Tk support starting at p290:

http://rubyforge.org/frs/shownotes.php?release_id=46113

Both 1.8.7-p352 and 1.9.2-p290 have tk support built-in.


Luis L.