From: Curt Hibbs Date: 2004-11-06T04:35:22+09:00 Subject: Re: Building One-Click Installer with latest snapshot source J. D. wrote: > > Hi, > > Has anyone tried building the Ruby One-Click Installer using a > downloaded Ruby stable snapshot? > > Can it be done with Visual C++ 6.0? Or the free Visual C++ Toolkit 2003 > 1.01? You can use vc++ 6.0 and the results appear to be good, but the FreeRIDE debugger will not work. I've never been able to figure out why, but the problem disappears when you build ruby with vc++ 7.1. There is some subtle difference that makes me wonder what else might not work with a vc++ 6 build. Anyway, for this reason I no longer use vc++ 6 with the cone-click installer. I've been meaning to try the free vc++ 7 compiler but I haven't yet had time. If you try to build the one-click installer, it has two build targets "stable" and "dev". The dev target is meant for building from any version of ruby source you already have on your machine. However, I haven't touched the dev target in a while and I'm willing to bet its broken. So, I would suggest using the stable target and modifying the Package.new statement on line 119 of builder.rb to specify the version of ruby that you want built. Joao Pedrosa posted instructions on RubyGarden for setting up the free vc++ 7 compiler. You can find them here: http://www.rubygarden.org/ruby?WindowsCompiler Good luck! Curt