Perforce corrupts Scripts

On windows, I am mapping a linux drive. So in Perforce, when I do a perforce sync, the files on linux will get updated.
After doing this, vs doing a perforce sync on the command line on Linux itself, I noticed that the script/server and script/generate commands didn’t work without typing “ruby ” in front of them.

The way to solve this is problem is to edit your client spec in Perforce, on windows and set the LineItem drop-down from default to “unix” instead.
This issue has to do with how line feeds differ on Windows vs Unix.

VN:F [1.9.22_1171]
Rating: 0.0/5 (0 votes cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)
Facebook Twitter Email

Leave a Reply