Path in user variable is the default path from the installation:
C:\RailsInstaller\Git\cmd;C:\RailsInstaller\Ruby1.9.3\bin
Path in system variable is directed to:
C:\RailsInstaller\Ruby1.9.3\bin
When I open the Command Prompt with Ruby and Rails, the command prompt says "'ruby' is not recognized as an internal or external command" immediately without any input.
The command prompt worked before. After I re-installed it using various methods due to unsuccessful setup, it got like this.
How can I fix it?