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 force_ruby_platform no longer being respected #4302

Merged
merged 2 commits into from Jan 20, 2021

Conversation

deivid-rodriguez
Copy link
Member

@deivid-rodriguez deivid-rodriguez commented Jan 18, 2021

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

Since 2.2.3, force_ruby_platform is no longer being respected.

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

In 2.2.3, I added some backwards compatibility code to restore pre bundler 2.2.0 behaviour of choosing the best matching platform at installation time rather than at resolution time like it's done now.

However, I missed to exclude force_ruby_platform from that since in this case we never what to select any platform specific gems at all.

Fixes #4296.

Make sure the following tasks are checked

@LiranLast
Copy link

@deivid-rodriguez thank you very much for fixing this!

Any idea when we can expect the fix to be released?

@deivid-rodriguez
Copy link
Member Author

I'll try to get it released today or tomorrow.

@LiranLast
Copy link

Thanks! Much appreciated!

deivid-rodriguez added a commit that referenced this pull request Jan 26, 2021
…ger_respected

Fix `force_ruby_platform` no longer being respected

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

Regression - Bundler v2.2.3 and above ignores target platform
3 participants