In the Ruby distribution you'll find a file named
README, which
explains the installation procedure in detail. To summarize, you
build Ruby on POSIX-based systems using the same four commands you
use for most other open source applications:
./configure,
make,
make test, and
make
install. You can build Ruby under other environments (including
Windows) by using a POSIX emulation environment such as
cygwin
[See https://sourceware.cygnus.com/cygwin for
details.] or by using native compilers---see ``
ntsetup.bat'' in
the distribution's
win32 subdirectory as a starting point.