Installing Ruby on Rails and Gems on Windows

There are enough tutorials around on how to install Ruby on Rails and Gems on Linux; but the question is, how do you install them on Windows?
1) Install Ruby using the one click installer. You can get the latest version of the installer from here; the installation is simple and only takes a few clicks.
2) [...]