Since my patches to rubyinline seem to be mostly ignored [well, can't blame them since they don't have a mingw compiler to test them on], I've published a gem that does. http://github.com/rogerdpack/rubyinline/tree/master gem uninstall RubyInline gem install rogerdpack-RubyInline If it's useful to anyone. Enjoy. =r