RubyMine 7.0.1 Web Help

In this section:

Prerequisites

Before you start working with Vagrant, make sure that Vagrant plugin is enabled.

The plugin is bundled with RubyMine and activated by default. If not, enable the plugin as described in Enabling and Disabling Plugins.

Besides that, make sure that the following prerequisites are met (outside of RubyMine):

  • Oracle's VirtualBox is installed on your computer.
  • Vagrant is installed on your computer, and all the necessary infrastructure is created.
  • The parent folders of the following executable files are added to the system PATH variable:
    • vagrant.bat or vagrant from your Vagrant installation. This should be done automatically by the installer.
    • VBoxManage.exe or VBoxManage from your Oracle's VirtualBox installation.
  • The required virtual boxes are created.

Configuring remote Ruby interpreter via Vagrant

To configure a remote Ruby interpreter
  1. In the Ruby SDK and Gems page of the project settings, click add.
  2. In the drop-down list, choose New remote....

    rm_remote_interpreter_choose

    The dialog box Configure Remote Ruby Interpreter opens.

  3. 7.0+
    In this dialog box, click the radio button Vagrant:

    rm_configure_remote_interpreter_vagrant

    In this case, the remote server settings are taken from the vagrant configuration file, defined in the page Vagrant.

  4. Do the following:
    • Click the browse button browseButton next to the field Vagrant Instance Folder, and specify the desired Vagrant instance folder.

      This will result in showing the link to Vagrant host URL.

    • The Ruby interpreter path field displays the path to the desired Ruby executable. You can accept default, or specify a different one.
  5. Click OK in the Configure Remote Ruby Interpreter dialog box. The configured remote interpreter is added to the list.

See Also

Procedures:

Language and Framework-Specific Guidelines:

Reference:

Web Resources: