Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 15 Next »

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 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:

Now you can 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. Work With a Remote Application

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

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

  • No labels