Ruby Bundler Support in Renovate

Table of Contents

Bundler support in Renovate is now ready for testing!

We’re being conservative and classifying it as “alpha” support for now, but we think it’s likely to go through beta -> GA pretty fast.

How it works

Ruby Bundler support works pretty similarly to existing languages/package managers. For details see the relevant docs on renovatebot.com.

Testing it during Alpha

Because we consider it pre-GA, Bundler support is not enabled by default, meaning Renovate won’t start discovering Gemfiles unless you tell it to.

If you’re using the hosted Renovate App, then either:

  • If your repository contains non-Bundler package files and is already detected by Renovate, add "bundler": { "enabled": true } to your existing config, OR
  • If your repository has only Bundler files and is not getting onboarded, then you can manually add the above to config to a renovate.json file in master branch, OR
  • Contact support@renovatebot.com to ask that we manually enable onboarding for this repo

If you’re using the CLI tool, make sure you have Bundler installed before you run, and enable Bundler support either in your bot’s config (e.g. conig.js) or per-repository.

Known Limitations and Future Features

  1. Renovate doesn’t yet process .gemspec files.
  2. Renovate parses Gemfile using JS and therefore doesn’t “resolve” any third party files if you reference them
  3. Renovate uses Bundler 2.x to update Gemfile.lock files (it seems to fall back to 1.x correctly though)
  4. “Lock file maintenance” is not yet supported

Feedback

If you find any problems, please raise an issue in the main Renovate repository. If you’ve tested it successfully, please also let us know via email, Twitter or GitHub if you think it can be promoted to beta or GA stage yet.

Recent resources

What is LDAP Injection? Types, Examples and How to Prevent It

Learn what LDAP Injection is, its types, examples, and how to prevent it. Secure your applications against LDAP attacks.

Read more

How to Use Dependency Injection in Java: Tutorial with Examples

Learn how to use Dependency Injection in Java with this comprehensive tutorial. Discover its benefits, types, and practical examples.

Read more

Idempotency: The Microservices Architect’s Shield Against Chaos

Discover the power of idempotency in microservices architecture. Learn how to maintain data consistency and predictability.

Read more