Follow the instructions at http://cygwin.com/install.html. You will run an executable called setup.exe
which will guide you through the installation. You will eventually arrive at a screen where you can select the packages you want to install. Be sure to install Ruby (its under Interpreters/ruby
).
Once Cygwin has finished installing packages, it will offer to create icons for you. You can click on these icons to start up a terminal session, so select what ever is convenient for you.
Once installation is complete, start a terminal session.
Confirm that ruby is installed by typing this at the prompt: