[Rubyinstaller-devel] [ANN] Bootstrapping Ruby with MinGW: selfhosted and test sandbox!
luislavena at gmail.com
Mon Mar 24 00:55:05 EDT 2008
I'm happy to announce that huge progress (hack-a-ton) was made this
weekend to bring a new implementation of One-Click Installer for
This test version is based on the rake recipes I commented on previous
posts , and it download MinGW, MSYS and some Ruby dependencies to
get a working Ruby implementation using MinGW (i386-mingw32 platform).
I've packaged Ruby 1.8.6 (revision 15830) as 7zip package (2.7MB). You
can download it form the following URL:
The project and the recipes code can be downloaded from here:
I'll like to point a few things before everyone start using this ruby version:
THIS BUILD OF RUBY IS *NOT* READY FOR PRODUCTION. USE IT ONLY FOR
All the enhancements got here will be injected back in the new version
of One-Click Installer for Windows.
1) Pre-built gems for i386-mswin32 are not compatible with this build
of ruby. You'll require to download sources of your favorite gems.
If you haven't created the sandbox environment using the recipes, you
can grab the baked mingw+msys sandbox from installer3 URL. You need to
put MinGW binaries and MSYS binaries in the PATH (in that order)
before firing the gem install or any build procedure.
2) Don't expect Rails, Mongrel, Merb, Sqlite3 or "name your favorite
gem" will work with this release out of the box (hey, this is not even
3) The package contains the bare minimum stuff to serve as self
Nothing more, nothing less.
4) Readline is still broken. I removed the readline tests from the
check procedure to continue working on this (was stuck for two months
without feedback). If you wanna help, search for my previous posts
about this issue.
For CI information:
1760 tests, 1343436 assertions, 2 failures, 0 errors
5) GNU Utils are a nightmare to get it working or find proper builds
for Windows. following _why advice , opted for win_iconv which
seems working (but there aren't tests for it).
6) Microsoft Installer (MSI) recipes are still missing. Future
releases will be use WiX tools and will provide patches between
7) Contributions are highly welcome! I'm using Bazaar as VCS since
Windows support for Git (the new cool tool) is still behind...
Remember: everything shown here will became part of the next One-Click
Installer. As you can see, I'm trying to keep it to the minimum. Later
we can discuss "addons" or different versions that are target
different usage scenarios.
Check my blog  for upcoming hack-a-ton dates and keep an eye on
#ruby-lang if you wanna help ;-)
Regards and everybody have a nice week!
Human beings, who are almost unique in having the ability to learn from
the experience of others, are also remarkable for their apparent
disinclination to do so.
More information about the Rubyinstaller-devel