I wanted to play with the latest version of ruby. I got the win32 binary zip of 1.9.1 p0 - however irb used to popup an error message on startup - used it for sometime but then I decided to fix it. Checked back on ruby's download page and found an updated version p129. Downloaded it but it was a source zip.
I wasn't sure that compiling it from source would be trivial... however it reinforced the simplicity of the ruby way. Summarizing the steps I found on this post at ruby-forum.com
- Get the source zip from the download page and unzip it locally to say c:\ruby-src
- Open the Visual Studio Command prompt (I have VS2008 on WinXP SP2)
- Make a folder for your build say c:\ruby-build. Move into it / change dir
- c:\ruby-build> c:\ruby-src\ruby-1.9.1-p129\win32\configure.bat
- c:\ruby-build> nmake
- c:\ruby-build> nmake test
- c:\ruby-build> nmake DESTDIR=c:/ruby-build install


