# Getting tk to work on OS X?

**URL:** <https://www.ruby-forum.com/t/getting-tk-to-work-on-os-x/147373>\
**Category:** Ruby\
**Created:** [September 1, 2008, 5:21am UTC](https://www.ruby-forum.com/t/getting-tk-to-work-on-os-x/147373 "2008-09-01T05:21:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kenneth\_McDonald](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/dc4da7/32.png) [@Kenneth\_McDonald](https://www.ruby-forum.com/u/Kenneth_McDonald)\
**Post date:** [September 1, 2008, 5:21am UTC](https://www.ruby-forum.com/t/getting-tk-to-work-on-os-x/147373/1 "2008-09-01T05:21:58Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Kenneth\_McDonald](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/dc4da7/32.png) [@Kenneth\_McDonald](https://www.ruby-forum.com/u/Kenneth_McDonald)\
**Post date:** [September 1, 2008, 5:50am UTC](https://www.ruby-forum.com/t/getting-tk-to-work-on-os-x/147373/2 "2008-09-01T05:50:02Z")

</div>

Never mind, thanks to [TkDocs Tutorial - Installing Tk](http://www.tkdocs.com/tutorial/install.html) I  
was able to get things working. Thanks, man!

Ken
