Skip to content

Conversation

@MatheusRich
Copy link
Contributor

What was the end-user or developer problem that led to this PR?

If a Gemfile has a ruby version specified like ruby file: '.some-file' but that file doesn't exist, bundler is aborting with a generic Errno::ENOENT error currently.

What is your fix for the problem, implemented in this PR?

If the file option is given but the file not found, raise a GemfileError with a message indicating the file was not found.

Make sure the following tasks are checked

If the file option is given but the file not found, raise a GemfileError
with a message indicating the file was not found.

Currently this is raising a generic Errno::ENOENT error.
@simi
Copy link
Contributor

simi commented Sep 10, 2025

Seems reasonable to me. 💪

@hsbt hsbt merged commit dd5d15f into ruby:master Sep 11, 2025
76 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants