renovate/lib/modules/manager/bundler
Julien Tanay f40c0351ad
fix(bundler): fix inline source variable parsing (#32946)
2024-12-07 09:20:09 +00:00
..
__fixtures__ feat(manager/bundler): support groups within source blocks (#27424) 2024-03-24 07:44:18 +00:00
__snapshots__ refactor(bundler): refactor extraction regexes (#32870) 2024-12-05 08:32:39 +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 fix(bundler): fix inline source variable parsing (#32946) 2024-12-07 09:20:09 +00:00
extract.ts fix(bundler): fix inline source variable parsing (#32946) 2024-12-07 09:20:09 +00:00
gemfile.spec.ts refactor: remove deprecated `loadFixture` calls (#16404) 2022-07-04 04:18:53 +00:00
host-rules.spec.ts fix(manager/bundler): Escape special characters in bundler usernames (#32229) 2024-10-31 13:25:21 +00:00
host-rules.ts fix(manager/bundler): Escape special characters in bundler usernames (#32229) 2024-10-31 13:25:21 +00:00
index.ts docs(managers): add missing url and displayName (#32621) 2024-12-01 08:47:27 +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