In this section:
- Increasing Productivity
- Increasing the Heap Size
- Managing the Case of Unicode Literals
To increase the 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:
/Applications/RubyMineXX.app/Contents/bin/rubymine.vmoptionsshould be copied to
For the older versions, the settings are stored in
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:
RUBYMINE_VM_OPTIONSenvironment variable. This variable should contain the path to the file with the settings.
$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:
For *NIX 64-bit:
For Windows 32-bit:
For Windows 64-bit:
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:
- Do one of the following:
<RubyMine installation folder>/bin/RubyMineXX.vmoptionsto
$HOME/.RubyMineXX/rubymine$BITS.vmoptions(for *NIX) or
<RubyMine installation folder>/bin/RubyMineXX.vmoptionssomewhere and save the path to this location into the environment variable
- Edit the file in the new location.
Increasing the Heap Size
To increase RubyMine heap size, you should copy the original
rubymine.vmoptions file from the
~/Library/Preferences/rubymine<version>/rubymine.vmoptions, then modify the
Managing the Case of Unicode Literals
RubyMine allows defining whether non-ascii characters should use literals like
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
bin/idea.propertiesfile, located under the product installation folder.
On OS X:
Copy the file
~/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/RubyMine.app/Contents/Info.plist, and add the following code:
to the section
<key>Properties</key> <dict> ... <dict>