From: David Roberts Date: 2006-10-18T23:05:35+09:00 Subject: Re: Building Ruby 1.8.4 interpreter for Windows Yasemin Afacan wrote: > I am a new commer to this site and I am learning Ruby for my Ph.D. > thesis to write a plug-in for SketchUp. Since I am architect, I am > unfamiliar with software terminology. > > I have also problems with Ruby Interpreter, I have downloaded Ruby > http://www.ruby-lang.org/en/downloads/ from Ruby 1.8.5 One-Click > Installer > And now how is possible to get the Interpreter What should I do? Can you > help me? > How can I manage with those some simple hacks??? > > Yas > Well, ignoring the fact that you are NOT building the interpreter, and that you are referring to Ruby 1.8.5, what you do next is what it says on the supporting website (http://rubyinstaller.rubyforge.org/wiki/wiki.pl?Quick_Introduction) which is - 1] To install Ruby, click on the downloads link below, choose the version you would like, and click on the .exe link (under the name of the version) to download the installer. [You've done that already... ] 2] Use Windows Explorer to navigate to where you saved the .exe file and double-click on it to run the installer. [Ah - it is mis-named: it is really the Double-Click Installer!!] Really - it is that simple. The installer is a Windows .exe - just run it the way you would any other Windows program. You only do this once, to install the interpreter, not every time you want to run a Ruby script. Good luck DeeJay > > > > > Roy Ben hayun wrote: >> Hi, >> I managed to pull the trick: >> The \lib\ folder is incomplete in the download of Ruby 1.8.5 therefor >> need to resort to some simple hacks. >> >> ex.) >> ruby source directory: F:\temp\ruby\r3\ruby-1.8.5 >> build directory: F:\temp\ruby\bi3 >> install directory: F:\temp\ruby\bi3 >> >> cd D:\build\ruby >> C:\src\ruby\win32\configure >> nmake >> nmake test >> nmake DESTDIR=C:/usr/local install >> >> copy version.h from Ruby 1.8.4 >> F:\temp\ruby\bi3\bin>F:\temp\ruby\r3\ruby-1.8.5\win32\configure.bat >> F:\temp\ruby\bi3\bin>NMAKE >> F:\temp\ruby\bi3\bin>NMAKE test >> F:\temp\ruby\bi3\bin>nmake DESTDIR=F:\temp\ruby\bi3 install >> Copy \lib\ folder from Ruby 1.8.4 -- Posted via http://www.ruby-forum.com/.