From: Rich Leblanc Date: 2010-07-22T10:38:35+09:00 Subject: Re: LoadError: no such file to load -- tk Roger Pack wrote: > >>>> http://faithpromotingrumors.org/incoming/ruby-1.9.1-p429-i386-mingw32.7z > >> Ok I've unzipped this thing now how do I install it? And what would I do >> if you didn't make me this? I'd really like to get the original problem >> fixed and figure out how to get the 1.8.x source compiled and working as >> in that tutorial. I'd like to know how to get the proper files in the >> right place and understand what I'm doing not "click one button and have >> it magically work". > > You don't need to install it, just cd into the > "ruby-1.9.1-p429-i386-mingw32\bin" directory and run ruby/irb or what > not (or add that folder to your PATH). Ok, gotcha. did that. > > >> I don't want to start getting sidetracked. How can I build the 1.8.x >> source properly with tk and avoid this error? That was my original >> question. I also need to get this working on my Unix machine next (or in >> parallel). As far as I know there is no "one-click installer" for that. >> I need to know what goes where. Aren't there any install instructions >> anywhere? > > Unfortunately your original quest was to build ruby using VC with the Tk > extension installed. I've never done that. The "main line" ruby > installer has moved to mingw so almost *nobody* does that anymore. Ok that's fine, so what are people doing now? > You are treading in difficult waters and unless you want to tread alone, I > would recommend going with a more standard approach. The directions in > that tutorial are out of date. Why punish yourself? I didn't know it was out of date. That's the one I always find when I search for "ruby tutorial". I'd be happy to dump VC and go with mingw. > Currently there isn't a one click distributable for 1.9 that has Tk, but > it's in the works. > If you want a one click distributable for 1.8 that > has Tk, search the above threads for "RC2" I really don't care if it's 1.8 or 1.9. I just want to do GUI programming with ruby/tk. It sounds like the options are: 1. compile tk into ruby 1.8 (with mingw) 2. use 1.8 one-click installer that has tk 3. Compile tk into 1.9. 4. Use the 1.9 you made me until a 1.9 one-click installer comes out with tk. Is there any reason to stick with 1.8? I only did because that tutorial said to. If I should forget 1.8 and move to 1.9 that's fine I don't care. I prefer to have the latest anyway. > > GL! > -r -- Posted via http://www.ruby-forum.com/.