RubyMine 5.4.0 Web Help

5.0+

In this section:

Prerequisites

Note

A ssh server should run on a remote host, since RubyMine runs remote interpreter via ssh-session.

  1. Create a server configuration. To do that, on the main menu, point to Tools | Deployment, and choose Configuration on the sub-menu.
    In the Deployment dialog box, click add, specify the new server name.

    In the Connection tab of the dialog, choose SFTP as the server type, and specify the other required connection settings.

    For more details, refer to the section Creating a Server Configuration.

  2. Define mappings. To do that, in the Deployment dialog box, switch to the Mappings tab, and fill in a path to a remote application.

    For more details, refer to the section Defining Mappings.

To configure a remote Ruby interpreter
  1. In the Ruby SDK and Gems page of the project settings, click Add SDK .
  2. In the drop-down list, choose New remote....

    rm_remote_interpreter_choose

    The dialog box Configure Remote Ruby Interpreter opens:

    rm_configure_remote_interpreter

  3. In the Configure Remote Ruby Interpreter dialog box, do one of the following:
    • Click the button Fill from deployment server settings. So doing, the remote server settings are taken from one of the servers which have already been configured, as described in the section Creating a Server Configuration.

      Note

      The button Fill from deployment server settings appears in the dialog box if at least one remote server has been configured in advance on the Deployment page of the Settings dialog.

    • In the Settings area, fill in the server information manually (host, port, etc.).
  4. The Ruby interpreter path field displays the path to the desired Ruby executable. You can accept default, or specify a different one.
  5. Click OK in the Configure Remote Ruby Interpreter dialog box. The configured remote interpreter is added to the list.

See Also

Reference:

External Links:

Web Resources: