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

Fix incorrect error when Gemfile overrides a gemspec development dependency #7319

Merged
merged 2 commits into from
Dec 21, 2023

Conversation

deivid-rodriguez
Copy link
Member

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

We added a warning when gemspec development dependencies are being overridden, but it was incorrect in certain situations and causing a hard error.

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

Properly account of the potential different parsing order between Gemfile and gemspec development dependencies.

Fixes #6014 (comment).

Make sure the following tasks are checked

It's a bit of a mess right now, just trying to make it a bit easier to
parse.
@deivid-rodriguez deivid-rodriguez merged commit ae670d2 into master Dec 21, 2023
80 checks passed
@deivid-rodriguez deivid-rodriguez deleted the fix-more-dev-deps-warnings branch December 21, 2023 16:41
deivid-rodriguez added a commit that referenced this pull request Dec 22, 2023
Fix incorrect error when Gemfile overrides a gemspec development dependency

(cherry picked from commit ae670d2)
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.

None yet

2 participants