Skip to main content

Bundler

Bundler

The Bundler package manager for Ruby.

Configuration

Example

Use the following syntax to configure this plugin globally as part of config.yml:

ort:
analyzer:
packageManagers:
Bundler:
options:
bundlerVersion: <OPTIONAL_STRING>

Use the following syntax to configure this plugin in a repository's .ort.yml:

analyzer:
package_managers:
Bundler:
options:
bundlerVersion: <OPTIONAL_STRING>

If the plugin is configured in both locations, the configurations are merged, with options from .ort.yml taking precedence over those from config.yml.

Options

bundlerVersion

STRING

The Bundler version to resolve dependencies for. By default, this is the highest version declared in any present lockfile, or the version that ships with JRuby if no lockfiles are present. In any case, the value can currently only be set to a higher version than the version that ships with JRuby.