Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Document update behavior for gems without version constraints #11644

Merged
merged 3 commits into from Sep 9, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 6 additions & 0 deletions docs/usage/ruby.md
Expand Up @@ -15,6 +15,12 @@ Renovate supports upgrading dependencies in Bundler's Gemfiles and their accompa
1. A PR is created which updates the `Gemfile` and `Gemfile.lock` in a single commit
1. If the source repository has a "changelog" file or uses GitHub releases, then Release Notes for each version are embedded in the generated PR

## Caveats

- Renovate doesn't update dependencies without a version constraint. Example: `gem 'some-gem', '~> 1.2.3'` will update
`some-gem` if a new version matching the constraint if available, but `gem 'some-gem'` won't. If you always want to
stay at the latest available version, consider specifying `gem 'some-gem', '> 0'`.
clemens marked this conversation as resolved.
Show resolved Hide resolved

## Enabling

You can install the [Renovate App](https://github.com/apps/renovate) on GitHub.
Expand Down