TeamCity
 
You are viewing the documentation for an earlier version of TeamCity. View this page in the current documentation

Ruby Environment Configurator

The Ruby environment configurator build feature passes Ruby interpreter to all build steps. The build feature adds the selected Ruby interpreter and gems bin directories to the system PATH environment variable and configures other necessary environment variables in case of the RVM interpreter. For example, in the Command Line build runner you will be able to directly use such commands as ruby, rake, gem, bundle, and so on. Thus, if you want to install gems before launching the Rake build runner, you need to add the Command Line build step which launches a custom script, for example:

See also