Skip to content

Adds an option to rsync deployment method to specify the full path to the rsync binary#116

Open
kirichkov wants to merge 2 commits intokarlfreeman:masterfrom
simplicitybg:option-rsync-bin
Open

Adds an option to rsync deployment method to specify the full path to the rsync binary#116
kirichkov wants to merge 2 commits intokarlfreeman:masterfrom
simplicitybg:option-rsync-bin

Conversation

@kirichkov
Copy link
Copy Markdown

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant