If you don't want to install Cygwin, you can just download the Cygwin DLL (1.5.9-1) and put it in the same directory as ruby.exe.
The source code for the Cygwin DLL can be downloaded here, or preferably from your nearest Cygwin mirror site.