Revert "Fix commands using rails on Windows"

This reverts commit 1d28f49c5c8a1c6e4760ded350a6cd003f019863.