renovate/lib/manager/bundler
2022-02-26 16:09:01 +00:00
..
__fixtures__ fix(bundler): More flexible parsing for gem lines (#7321) 2020-09-21 21:30:09 +02:00
__snapshots__ fix: Do not drop bundler platforms on lock file maintenance (#14159) 2022-02-12 10:36:48 +00:00
artifacts.spec.ts refactor: remove unnecessarily long paths in imports and mocks (#14429) 2022-02-26 16:09:01 +00:00
artifacts.ts fix: Do not drop bundler platforms on lock file maintenance (#14159) 2022-02-12 10:36:48 +00:00
extract.spec.ts test: improve test readability with expect-more-jest (#12329) 2021-10-27 07:24:36 +02:00
extract.ts refactor: Use Windows-compatible regex for newlines (#13956) 2022-02-02 07:31:11 +00:00
gemfile.spec.ts test: fix lint (#12551) 2021-11-08 13:16:58 +01:00
host-rules.spec.ts refactor: set importsNotUsedAsValues to error (#14052) 2022-02-07 06:37:17 +00:00
host-rules.ts refactor: set importsNotUsedAsValues to error (#14052) 2022-02-07 06:37:17 +00:00
index.ts feat: supportedDatasources (#13621) 2022-01-19 08:06:21 +00:00
locked-version.spec.ts test: fix lint (#12551) 2021-11-08 13:16:58 +01:00
locked-version.ts refactor: Use Windows-compatible regex for newlines (#13956) 2022-02-02 07:31:11 +00:00
range.spec.ts test: fix lint (#12551) 2021-11-08 13:16:58 +01:00
range.ts refactor: optimize type usage (#8947) 2021-03-02 21:44:55 +01:00
readme.md docs: update Bundler manager readme (#11413) 2021-08-25 06:17:14 +02:00
update-locked.spec.ts feat: detect already updated lock file updates (#13258) 2021-12-23 11:54:36 +01:00
update-locked.ts feat: detect already updated lock file updates (#13258) 2021-12-23 11:54:36 +01:00

The bundler manager is used to extract dependencies from Gemfile and Gemfile.lock files.

Authenticating private registry

If you need Bundler to authenticate with a private registry - and it's not the same host as your GitHub/GitLab/etc - then you should do so with hostRules and be sure to set the hostType value to be "bundler". e.g.

{
  "hostRules": [
    {
      "matchHost": "private-registry.company.com",
      "hostType": "rubygems",
      "token": "abc123"
    }
  ]
}

Important notes regarding the above:

hostType is a required field, and you must provide a value. If you use Renovate v26 or higher, set hostType=rubygems. If you use Renovate v25 or lower, set hostType=bundler.

If the registry is used for multiple package types then you may need multiple hostRules.

Instead of token, you may also supply username and password instead.

If you don't want to commit raw secrets to your repository, either:

  • If self hosting, add the hostRules to your bot's configuration file rather than the repository's configuration file, or
  • If using the hosted WhiteSource Renovate app, make use of the encrypted capability