mirror of
https://github.com/renovatebot/renovate.git
synced 2026-11-02 10:33:39 +00:00
b62fe59594
We dropped the "bot" from our terminology long ago, but it looks like we've got some outdated docs + code that reference it. We should remove this to keep things consistent. A `fix`, as we're changing the commit author's name, and log lines. Co-authored-by: Claude Sonnet 5 <jamie.tanna+claude-code@mend.io> Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
35 lines
1.0 KiB
Markdown
35 lines
1.0 KiB
Markdown
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:
|
|
|
|
```json
|
|
{
|
|
"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 self-hosted config file, instead of the repository configuration file, or
|
|
- If using the Mend Renovate App: use the [`encrypted`](../../../configuration-options.md#encrypted) config option
|