Managing the development environment on virtual machines and remote hosts sometimes takes a lot of time and effort. This is why we've worked hard to let you add and set up a remote SDK. Then you can run, test and debug your remote app.

Please note that RVM is not supported yet.

0. Prerequisites

1. Configure a Remote Host Access

Go to

Settings - Deployment
and press
+
to add a new remote server access configuration:

Set up connection settings:

Switch to the

Mappings
tab and fill in a path to a remote app:

2. Choose a Remote SDK

Now you can choose a remote SDK for your local copy of an app. Go to

Settings - Ruby SDK and Gems
and press
Add SDK...
. Choose
New remote...
option:

Import your setting from a deployment server you've created:

Note you can use vagrant config to import a remote host settings as well.

Make sure remote Ruby interpreter path is correct:

Remote SDK is now configured:

3. Synchronize Your Changes

To make your changes synchronized automatically go to

Settings - Deployment - Options
and set
Upload changed files automatically to the default server
to
Always
:

Please note, you can synchronize your files and folders manually or change the settings any time from

Tools - Deployment
menu. To browse remote host folders and files with color highlighting for synchronized ones go to
Tools - Deployment - Browse Remote Host
:

4. Work with a Remote Application

Now all the changes will be synchronized with a remote app. You can also run and debug your application:

Note you should use the same port number that is used on a remote host for running the app on a localhost.