Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Next »

Starting with 2016.3 RubyMine uses rsync utility to speed up gem downloading in case remote interpreters are configured for an application.

Icon

Rsync is used by default while gem downloading if it is installed on a local machine. To switch it off please uncheck Registry option 'ide.remote.interpreters.use.rsync':

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:

Installing rsync

Linux

OS X

Rsync is installed by default.

Windows 

Windows: can be used on Windows systems but is only available through various ports (such as Cygwin).

Installing sshpass

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

Linux

OS X

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

Windows 

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

  • No labels