RubyMine 7.1.3 Help

Tuning RubyMine

In this section:

Increasing productivity

To increase productivity of RubyMine, you can change settings that reside in the following locations (depending on your operating system) :

  • On Windows systems:
    <RubyMine installation folder>/bin/rubymine.exe.vmoptions
    <RubyMine installation folder>/bin/rubymine64.exe.vmoptions
  • On *NIX systems:
    <RubyMine installation folder>/bin/rubymine.vmoptions
    <RubyMine installation folder>/bin/rubymine64.vmoptions
  • On OS X: The file /Applications/ should be copied to ~/Library/Preferences/RubyMineXX/rubymine.vmoptions

    For the older versions, the settings are stored in /Applications/rubymine<version>.app/Contents/Info.plist.

Alternative ways for Windows and Linux platforms

RubyMine makes it possible to increase productivity without editing files in the RubyMine installation folder.

This is done in one of the two ways:

  • Specify RUBYMINE_VM_OPTIONS environment variable. This variable should contain the path to the file with the settings.
  • Create $HOME/.RubyMineXX/idea$BITS.vmoptions (for *NIX) or %USERPROFILE%\.RubyMineXX\rubymine%BITS%.exe.vmoptions (for Windows) respectively.

    The value of the variable BITS:

    • For 32-bit systems it is empty.
    • For 64-bit systems it is 64.

    Finally, you have to create:

    For *NIX 32-bit: $HOME/.RubyMineXX/rubymine.vmoptions

    For *NIX 64-bit: $HOME/.RubyMineXX/rubymine64.vmoptions

    For Windows 32-bit: %USERPROFILE%\.RubyMineXX\rubymine.exe.vmoptions

    For Windows 64-bit: %USERPROFILE%\.RubyMineXX\rubymine64.exe.vmoptions

If RUBYMINE_VM_OPTIONS environment variable is defined, or the file $HOME/.RubyMineXX/idea$BITS.vmoptions (for *NIX) or %USERPROFILE%\.RubyMineXX\rubymine%BITS%.exe.vmoptions (for Windows) exists, then this file is used instead of the file located in the RubyMine installation folder.

Thus, to avoid editing files in the RubyMine installation folder, one should:

  1. Do one of the following:
    • Copy <RubyMine installation folder>/bin/RubyMineXX.vmoptions to $HOME/.RubyMineXX/rubymine$BITS.vmoptions (for *NIX) or %USERPROFILE%\.RubyMineXX\rubymine%BITS%.exe.vmoptions (for Windows)
    • Copy <RubyMine installation folder>/bin/RubyMineXX.vmoptions somewhere and save the path to this location into the environment variable RUBYMINE_VM_OPTIONS
  2. Edit the file in the new location.

Increasing heap size

To increase RubyMine heap size, you should copy the original rubymine.vmoptions file from the /Applications/rubymine<version>.app/Contents/bin/rubymine.vmoptions to ~/Library/Preferences/rubymine<version>/rubymine.vmoptions, then modify the -Xmx setting.

Managing case of unicode literals

RubyMine allows defining whether non-ascii characters should use literals like '\u00AB' or '\00ab'.

This behavior is controlled by the system property idea.native2ascii.lowercase. By default, upper case characters are used.

If it is desirable to use lower case characters, do the following (depending on your platform) :

  • On Windows and *NIX: add the line

    to the bin/ file, located under the product installation.

  • On OS X:

    Copy the file /Applications/ to ~/Library/Preferences/RubyMineXX/, open it for editing, and add the line


    It is essential to create a copy, since the settings are replaced rather than added.

    For the older versions of RubyMine, open for editing the file /Applications/, and add the following code:

    <key>idea.native2ascii.lowercase</key> <string>true</string>

    to the section <key>Properties</key> <dict> ... <dict>

See Also

Last modified: 27 June 2015