Getting tk to work on OS X?

I installed the latest ActiveState version of Tcl, then downloaded, compiled, and installed the most recent 1.8.7 version of Ruby. During the compilation, it confirmed that tk was compiled, but when I try to access it, I get an error:

Macintosh-3:~ Ken$ irb
irb(main):001:0> require 'tk'
LoadError: no such file to load -- tk
         from (irb):1:in `require'
         from (irb):1

I've confirmed this also happens from ruby when executing a file, and that my Ruby did update to 1.8.7.

Anyone know what might be going on?

Thanks,
Ken

Never mind, thanks to TkDocs Tutorial - Installing Tk I was able to get things working. Thanks, man!

Ken

···

On Aug 31, 2008, at 10:16 PM, Kenneth McDonald wrote:

I installed the latest ActiveState version of Tcl, then downloaded, compiled, and installed the most recent 1.8.7 version of Ruby. During the compilation, it confirmed that tk was compiled, but when I try to access it, I get an error:

Macintosh-3:~ Ken$ irb
irb(main):001:0> require 'tk'
LoadError: no such file to load -- tk
       from (irb):1:in `require'
       from (irb):1

I've confirmed this also happens from ruby when executing a file, and that my Ruby did update to 1.8.7.

Anyone know what might be going on?

Thanks,
Ken