Versions Compared

Key

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

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.

Table of Contents
stylenone

Note

Please note that RVM is not supported yet.

0. Prerequisites

  • 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.

1. Configure a Remote Host Access

Go to

Settings - Deployment
span
classshortcut
Wiki Markup
{span:class=shortcut}Settings - Deployment{span}
and press+
span
classshortcut
Wiki Markup
{span:class=shortcut}+{span}
to add a new remote server access configuration:

...

Set up connection settings:

Image Modified

Switch to the

Mappings
span
classshortcut
Wiki Markup
{span:class=shortcut}Mappings{span}
tab and fill in a path to a remote app:

Image Modified

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
span
classshortcut
Wiki Markup
{span:class=shortcut}Settings - Ruby SDK and Gems{span}
and pressAdd
span
classshortcut
Wiki Markup
{span:class=shortcut}Add SDK...{span}
. ChooseNew
span
classshortcut
Wiki Markup
{span:class=shortcut}New remote...{span}
option:

Image Modified

Import your setting settings from a deployment server you've created (you'll also need to move your server to application level using one of two possible options):

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

Make sure remote Ruby interpreter path is correct:

When adding an rvm-based remote interpreter, it is important to specify the gem set in the Ruby interpreter path:

<rvm root>/gems/<gem set>

Remote SDK is now configured:

...

To make your changes synchronized automatically go to

Settings - Deployment - Options
span
classshortcut
Wiki Markup
{span:class=shortcut}Settings - Deployment - Options{span}
and set
span
classshortcut
Upload changed files automatically to the default server
to Always
span
classshortcut
Wiki Markup
{span:class=shortcut}Upload changed files automatically to the default server{span}
to
Wiki Markup
{span:class=shortcut}Always{span}
:

Image Modified

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

Tools - Deployment
span
classshortcut
Wiki Markup
{span:class=shortcut}Tools - Deployment{span}
menu. To browse remote host folders and files with color highlighting for synchronized ones go toTools - Deployment - Browse Remote Host
span
classshortcut
Wiki Markup
{span:class=shortcut}Tools - Deployment - Browse Remote Host{span}
:

4. Work with a Remote Application

...