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:
Ruby Environment Configurator Settings
Ruby interpreter path
The path to Ruby interpreter. If not specified, the interpreter will be searched in the
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
RVM with .rvmrc file
Specify here the path to a
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.