Sublime Forum

Rsync key binding returns error after previously working

#1

Hello,
I am running Sublime Text 2.0.1 build 2217 on OSX 10.7.4. I have a key binding to run an rsync script for pushing files to a virtual machine dev server as such:

{ "keys": "alt+1"], "command": "exec", "args": { "cmd": "/Users/me/scripts/sync_vm"]} }

This will work fine for hours at a time as I use 100’s of times a day while working on CSS and then will suddenly start returning this error:

[Finished in 0.0s with exit code 127]/Users/me/scripts/sync_vm: line 7: rsync: command not found

The only way to get it working again is to restart Sublime Text. Any ideas what would cause this to start failing after so many hours working? From what I gather this rsync error is normally from a system that doesn’t have rsync installed but it is definitely installed and working many times before getting this error.

[UPDATE] This may be related to switching branches in an open project with git.

Any and all help appreciated…
Cheers,
Jeffrey

0 Likes

#2

Anybody have an idea of a solution for this issue?

0 Likes