From: nedzqbear nedzqbear Date: 2012-09-15T17:15:19+09:00 Subject: Re: LoadError: no such file to load -- tk I followed the guide on http://www.tkdocs.com/tutorial/install.html and success. I use Ubuntu. 1. change to root sudo -i 2. Install ActiveTcl wget http://downloads.activestate.com/ActiveTcl/releases/8.6.0.0b7/ActiveTcl8.6.0.0b7.295590-linux-ix86-threaded.tar.gz tar xzf ActiveTcl8.6.0.0b7.295590-linux-ix86-threaded.tar.gz cd ActiveTcl8.6.0.0b7.295590-linux-ix86-threaded ./install.sh 3. export PATH=$PATH:/opt/ActiveTcl-8.6 The guide on http://www.tkdocs.com not say this. But this is important, unless ruby will not find tk. 4. Install libx11-dev open "Ubuntu Software Centre" search "libx11-dev" install it 5. compile ruby wget http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p194.tar.gz tar xzf ruby-1.9.3-p194.tar.gz cd ruby-1.9.3-p194 ./configure && make && make install now everything works irb(main):001:0> require 'tk' => true irb(main):002:0> Tk::TK_PATCHLEVEL => "8.6b2" irb(main):003:0> -- Posted via http://www.ruby-forum.com/.