I have installed Rails and Ruby on Windows with railsinstaller. The problem is, when I run the rails command, it gives me: \"The system cannot find the path specified.\"
The solution is specified on github issues of railsinstaller - https://github.com/railsinstaller/railsinstaller-windows/issues/73