make OS-specific instructions only appear for that OS

Did a bit of refactoring and cleanup while I was at it.
Note that I took out the `:install_rails` step here... not actually necessary (and contains some *nix-specific instructions) that aren't needed.