You are viewing the documentation of TeamCity 9.x, which is not the most recently released version of TeamCity.
View this page in the latest documentation or refer to the listing to choose the documentation corresponding to your TeamCity version.


Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0




Ruby interpreter path

the path to Ruby interpreter. If not specified, the interpreter will be searched in the PATH. In this field you can use values of environment and system variables.
For example:

Code Block

RVM interpreter

Specify here the RVM interpreter name and optionally a gemset configured on a build agent.
Note, that the interpreter name cannot be empty. If gemset isn't specified, the default one will be used.


This option can be used if you don't want to use the .rvmrc settings, for instance to run tests on different ruby interpreters instead of those hard-coded in the .rvmrc file.

RVM with .rvmrc file

Specify here the path to a .rvmrc file relative to the checkout directory. If the file is specified, TeamCity will fetch environment variables using the rvm-shell and will pass it to all build steps.

Fail build if Ruby interpreter wasn't found

Check the option to fail a build if the Ruby environment configurator cannot pass the Ruby interpreter to the step execution environment because the interpreter wasn't found on the agent.

See also:


Administrator's Guide: Configuring Build Steps | Command Line | Rake