-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Dependabot doesn't recognize Gemfile "file:" directive for Ruby version #8539
Comments
It looks like if this method dependabot-core/bundler/lib/dependabot/bundler/file_fetcher.rb Lines 115 to 122 in ffb64af
also checked for |
Yeah, that sounds like it might work. Would you be willing to open a PR for it? |
I can try! I'll take a crack this weekend. |
I suspect this will be fixed by #9070 |
Looks like it! Excellent 😃 My "crack" ended in the middle of trying to understand the docker setup 😅 |
Is there an existing issue for this?
Package ecosystem
Bundler
Package manager version
Bundler 2.4.22
Language version
Ruby 3.2.2
Manifest location and content before the Dependabot update
/Gemfile, contents:
dependabot.yml content
Updated dependency
n/a
What you expected to see, versus what you actually saw
Dependabot update jobs fail with this message:
Native package manager behavior
Bundler accesses the specified file
.tool-versions
to extract the Ruby version.Images of the diff or a link to the PR, issue, or logs
ruby file:
option is documented in the bundler docsruby file: ".tool-versions"
in Gemfile rubygems/rubygems#6898Smallest manifest that reproduces the issue
Gemfile
:Gemfile.lock
:.tool-versions
:The text was updated successfully, but these errors were encountered: