renovate/lib/modules/manager/bundler
HonkingGoose ef4d5b2bbf
docs(manager/bundler): rewrite (#31330)
2024-09-11 11:05:23 +00:00
..
__fixtures__ feat(manager/bundler): support groups within source blocks (#27424) 2024-03-24 07:44:18 +00:00
__snapshots__ fix(ruby): extract version with quotation (#17222) 2022-08-19 10:04:12 +00:00
artifacts.spec.ts feat(manager/bundler): improve ruby version detection (#30781) 2024-08-16 17:18:03 +00:00
artifacts.ts feat(config): support user configured env (#27028) 2024-02-22 05:05:05 +00:00
common.spec.ts feat(manager/bundler): improve ruby version detection (#30781) 2024-08-16 17:18:03 +00:00
common.ts feat(manager/bundler): improve ruby version detection (#30781) 2024-08-16 17:18:03 +00:00
extract.spec.ts feat(manager/bundler): support groups within source blocks (#27424) 2024-03-24 07:44:18 +00:00
extract.ts refactor(rubygems): Rename `RubyGemsDatasource` to `RubygemsDatasource` (#30882) 2024-08-19 12:44:23 +00:00
gemfile.spec.ts refactor: remove deprecated `loadFixture` calls (#16404) 2022-07-04 04:18:53 +00:00
host-rules.spec.ts refactor(prettier): Force trailing commas (#25631) 2023-11-07 15:50:29 +00:00
host-rules.ts chore: update types reference 2023-08-15 11:31:15 +02:00
index.ts refactor(rubygems): Rename `RubyGemsDatasource` to `RubygemsDatasource` (#30882) 2024-08-19 12:44:23 +00:00
locked-version.spec.ts refactor(bundler): add tests (#18398) 2022-10-19 15:59:32 +03:00
locked-version.ts refactor(prettier): Force trailing commas (#25631) 2023-11-07 15:50:29 +00:00
readme.md docs(manager/bundler): rewrite (#31330) 2024-09-11 11:05:23 +00:00
update-locked.spec.ts chore: fix typos in test descriptions (#29011) 2024-05-12 07:00:23 +00:00
update-locked.ts refactor(prettier): Force trailing commas (#25631) 2023-11-07 15:50:29 +00:00

readme.md

Renovate uses the bundler manager to extract dependencies from Gemfile and Gemfile.lock files.

Authenticating private registry

If:

  • you need Bundler to authenticate to a private registry
  • and that private registry is not on the same host as Renovate (your GitHub/GitLab/etc)

Then you should authenticate Renovate with hostRules. For example:

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

Important notes:

  • hostType is a required field, set hostType=rubygems
  • If you use the same registry for more than one package type, you may need more than one hostRules entry
  • Instead of token, you can use a username and password

To avoid committing raw secrets to your repository, either:

  • If self-hosting: add the hostRules to your bot config file, instead of the repository configuration file, or
  • If using the Mend Renovate App: use the encrypted config option