Rails on Windows

I’ve fixed it now by changing the Compability Mode of bin/ruby.exe to Windows 7.