Gem downloading with rsync and sshpass
No matter you use a prepared Deployment configuration or SSH credentials to set up a remote Ruby interpreter configuration, rsync is being used. When setting up with SSH credentials we recommend to use certificates by choosing 'Key pair (OpenSSH or PuTTy)' in Auth type field. You can also provide a password by choosing 'Password' accordingly. When password is provided, sshpass utility is being used (the command looks like: sshpass -p password rsync -zarv user@host:/remote/path /local/path). Please note that using sshpass may not be secure enough.
RubyMine informs you if any of these utilities is not installed on a local machine:
Rsync is installed by default.
Windows: can be used on Windows systems but is only available through various ports (such as Cygwin).
Based on https://gist.github.com/arunoda/7790979#file-gistfile1-md and http://stackoverflow.com/questions/37243087/how-to-install-sshpass-on-windows-through-cygwin
Installing on OS X is tricky, since there is no official build for it. Before you get started, you need install xcode and command line tools.
Installing with Homebrew
Homebrew does not allow you to install sshpass by default. But you can use the following unofficial brew package for that:
Installing from the Source
Download the Source Code
Extract it and cd into the directory
Sshpass is not available as cygwin package. This means that you need to build and install from source. See for reference on existing alternative: https://www.cygwin.com/ml/cygwin/2015-02/msg00042.html