Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Section
Column
width25%
Table of Contents
stylenone
Column
width75%
Panel
borderStyledashed
titlePrerequisites
borderColor#ccc

Make sure your ssh-session to a remote host is open.
You will also need to open a local copy of a remote app you're going to work with.

Note

Please note that RVM is not supported yet.

1. Configure a Remote Host Access

Go to

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

Set up connection settings:

Switch to the

span
classshortcut
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

span
classshortcut
Settings - Ruby SDK and Gems
and press
span
classshortcut
Add SDK...
. Choose
span
classshortcut
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

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

Image Added

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

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

Image Added

4. Work with a Remote Application

Now all the gems 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.