From: Rich Leblanc Date: 2010-07-23T06:41:07+09:00 Subject: Re: LoadError: no such file to load -- tk Roger Pack wrote: > >>> 1.9.1 didn't build the Tk extension all that well on windows. It should >>> be fixed with 1.9.2...or there may be some other bug since I only use >>> mingw not VC to compile it. >>> >> >> The tutorial says use 1.8.x not 1.9.x. > > If you're interested in a 1.8.x that works with tk, see > http://rubyinstaller.org/downloads/ > "Ruby 1.8.6-p27 (RC2)" > > Install that, and activeState 8.5 in your path and it should "just work" >>> To reproduce it go into your ext/tk library and run extconf.rb (and >>> nmake I guess). It should fail. >>> >> >> Reproduce what? I don't understand. > > Reproduce ruby not "finding" Tk to compile it in. > >> I'm trying. That's why I'm here. It seems that tk library is not in the >> right place when compiling. Is that it? > > I think so. > >> Then where should it be so I can >> check and see if it's there? > > I'm not sure I've never built it using mswin. > > If you want to build it with mingw checkout the tcl branch of > rubyinstaller: > http://github.com/oneclick/rubyinstaller/tree/tcl > > Ok I got Inno Setup 5 now what? Couldn't figure out the next step from that site. > if you run a rake from there Where is "there"? > (rake ruby18) > it should build ruby with the tk extension built. > Don't know how to do this. The site says; "Ensure you are connected to the Internet, open a Command Prompt, 'cd' to the project root directory," What is the "project root directory"? -- Posted via http://www.ruby-forum.com/.