Adds an option to rsync deployment method to specify the full path to the rsync binary #116
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This option is useful when deploying from Mac OS X. The latest Mac OS X (El Capitan) ships with a rsync binary from 2006.
My current use case is when deploying sites that have non-ASCII URLs (file names).
When deploying from Mac OS X to a Linux server the
--iconv=utf-8-mac,utf-8
rsync flag is required for properly naming the files on the server. This option, however, is present in rsync 3.0.0, while Mac OS X ships with 2.6.9. Thus I have to install rsync from homebrew and meddle with the PATH environment variable to point to the homebrew rsync.With this option I don't need to change the PATH environment variable but simply point to the version of rsync which I installed from homebrew.