0
0
Fork 0
mirror of https://github.com/renovatebot/renovate.git synced 2025-05-14 08:22:26 +00:00
renovatebot_renovate/lib/modules/manager/bundler
RahulGautamSingh bc7d0595d0
feat(config): managerFilePatterns (#34615)
Co-authored-by: Sebastian Poxhofer <secustor@users.noreply.github.com>
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2025-05-04 08:30:24 +00:00
..
__fixtures__ feat(manager/bundler): support groups within source blocks (#27424) 2024-03-24 07:44:18 +00:00
__snapshots__ test: migrate to vitest (#34475) 2025-02-26 09:35:54 +00:00
artifacts.spec.ts test: cleanup (#34785) 2025-03-13 17:52:09 +00:00
artifacts.ts refactor(util): move user env to util folder (#35103) 2025-04-02 10:27:27 +00:00
common.spec.ts test: cleanup (#34785) 2025-03-13 17:52:09 +00:00
common.ts feat(manager/bundler): improve ruby version detection (#30781) 2024-08-16 17:18:03 +00:00
extract.spec.ts test: cleanup (#34785) 2025-03-13 17:52:09 +00:00
extract.ts refactor: use isHttpUrl where possible (#34982) 2025-03-25 05:51:22 +00:00
gemfile.spec.ts test: cleanup (#34785) 2025-03-13 17:52:09 +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 feat(config): managerFilePatterns (#34615) 2025-05-04 08:30:24 +00:00
locked-version.spec.ts test: cleanup (#34785) 2025-03-13 17:52:09 +00: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 test: cleanup (#34785) 2025-03-13 17:52:09 +00:00
update-locked.ts refactor(prettier): Force trailing commas (#25631) 2023-11-07 15:50:29 +00:00

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