From: Luis Lavena Date: 2010-07-23T08:55:10+09:00 Subject: Re: LoadError: no such file to load -- tk On Jul 22, 6:46 pm, Rich Leblanc wrote: > Roger Pack wrote: > > Rich Leblanc wrote: > >> Roger Pack wrote: > > I downloaded 1.9.1p429 fromhttp://rubyinstaller.org/downloads/ > > then downloaded "◦Ruby/Tk environment" from from > >http://www.ruby-forum.com/topic/210186#new > > Ok, I got those. > > > and unpackaged it to the appropriate directory. > > What does that mean? You ran the Ruby installer to create a directory > tree on windows, then copied "◦Ruby/Tk environment" to the "appropriate > directory" (whatever that is) then gave a copy of the whole resultant > directory tree to me? What is the "appropriate directory"? If you use > explicit paths it would be a lot easier for me to understand. > He can't use explicit paths in the example because he doesn't know your setup. You need to find your way too, don't expect receive a 100% to the letter type of instructions since you're not providing enough details. I believe you are getting over complicated and Roger's instructions are not helping you because the instructions expect certain knowledge of build tools and building Ruby. You should try the following, and if doesn't work, start a new thread instead of this eternal back and forth between so many instructions: 1) Download Ruby 1.9.1 installers form RubyInstaller website. http://rubyinstaller.org/ 2) Install the Development Kit, accessible from the same website and follow the instructions detailed here: http://wiki.github.com/oneclick/rubyinstaller/development-kit 3) Install Tcl, or if you have already installed, figure it out where it was installed in your system. 4) Take note of Tcl location and add the binaries location to the PATH: SET PATH=;%PATH% 5) Install tk-win gem: gem install tk-win 6) Start using it require 'rubygems' require 'tk' -- Luis Lavena