Vagrant
for Windows and Linux
for OS X
Ctrl+Alt+S
Use this page to:
- Enable Vagrant support in RubyMine by specifying the Vagrant executable file.
- Specify the location of the VagrantFile that determines creation of
virtual boxes (instances) by provisioning predefined
Vagrant base boxes through the
vagrant up
command. - Handle the list of Vagrant base boxes to use in creation of virtual boxes (instances).
Before you start working with Vagrant, make sure that:
- Vagrant is downloaded and installed.
-
Before you start working with Vagrant, make sure that the Vagrant plugin is enabled. The plugin is bundled with RubyMine and is activated by default. If the plugin is not activated, enable it on the Plugins page of the Settings / Preferences Dialog as described in Enabling and Disabling Plugins.
Item | Description |
---|---|
Vagrant executable | Specify the fully qualified address of the executable file: vagrant.bat for Windows,
vagrant for Unix and OS X. Type the path manually, or click the browse button and
locate the desired file in the Select vagrant executable dialog box. |
Instance folder | Specify here the fully qualified path to the directory, where the task vagrant init has
been executed, and the VagrantFile is initialized and stored.
Note that you can create an instance folder in any location, for example, in a project root. When a new remote interpreter is created, this project root location will be suggested by default as the instance folder.
A
When creation of an instance (virtual machine) is invoked either through the
You can create a |
Provider | Use this field to specify the
provider to be used by
vagrant up command. If this field is left blank, the default provider is used. |
Environment variable | Click the ellipsis button or press Shift+Enter to specify the shell variables to be used to configure the providers' behavior. |
Boxes and Plugins tabs | |
Boxes | This list shows the predefined
Vagrant base boxes available in RubyMine.
Each item presents a Vagrant base box on which Vagrant configures and launches its instances (virtual machines).
The entries of this list correspond to the output of the command vagrant box list .
|
Plugins | Use this table to view and change the list of available plugins. |