# No such file to load -- tk (LoadError)

**URL:** <https://www.ruby-forum.com/t/no-such-file-to-load-tk-loaderror/120490>\
**Category:** Ruby\
**Created:** [November 17, 2007, 3:08pm UTC](https://www.ruby-forum.com/t/no-such-file-to-load-tk-loaderror/120490 "2007-11-17T15:08:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![blitzer](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/ecae2f/32.png) [@blitzer](https://www.ruby-forum.com/u/blitzer)\
**Post date:** [November 17, 2007, 3:08pm UTC](https://www.ruby-forum.com/t/no-such-file-to-load-tk-loaderror/120490/1 "2007-11-17T15:08:51Z")

</div>

hello

I just use netbeans instead SciTE because SciTE has some problem with  
output  
and netbeans don’t has that problem but when I want to make GUI and I  
use

require ‘tk’

netbeans show this message

C:\Users\Acer\NetBeansProjects\Fact\lib\main.rb:1: no such file to load  
– tk (LoadError)

I install Tcl in drive C:\Tcl  
but in cmd it work normally

how to use it :’(
