A ssh server should run on a remote host, since RubyMine runs remote interpreter via ssh-session.
- Create a server configuration. To do that, on the main menu, point to
In the Deployment dialog box, click , 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., and choose on the sub-menu.
- 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.
- In the Ruby SDK and Gems page of the project settings, click Add SDK .
- In the drop-down list, choose
The dialog box Configure Remote Ruby Interpreter opens:.
- 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.
- In the Settings area, fill in the server information manually (host, port, etc.).
- The Ruby interpreter path field displays the path to the desired Ruby executable. You can accept default, or specify a different one.
- Click OK in the Configure Remote Ruby Interpreter dialog box. The configured remote interpreter is added to the list.