Using RSync for Downloading Remote Gems
This feature is only supported in the Ultimate edition.
The following is only valid when Ruby Plugin is installed and enabled!
On this page:
IntelliJ IDEA enables you to download the remote gems in case remote interpreters are configured for the applications.
rsync must be installed on your computer!
rsync can be used on Windows systems, but is only available through the various ports (such as Cygwin).
rsync is installed by default.
sudo apt-get -y install rsync
Downloading gems with RSync
No matter whether you use a prepared Deployment configuration or SSH credentials to set up a remote Ruby interpreter configuration, IntelliJ IDEA makes use of
When setting up with SSH credentials, use one of the following values of the field Auth type:
- Key pair (OpenSSH or PuTTy) (recommended)
- Password: in this case, IntelliJ IDEA emulates Terminal to use it. So doing, the command looks as follows:
rsync -zarv user@host:/remote/path /local/path