Skip to content
This repository has been archived by the owner on Apr 14, 2021. It is now read-only.

[CurrentRuby] Ensure the local platform isnt ruby before checking os/cpu #5345

Merged
merged 1 commit into from
Jan 23, 2017

Conversation

segiddins
Copy link
Member

Closes #5344

fixes the problem since Bundler.local_platform can now be "ruby" on Windows, instead of a full-blown Gem::Platform object, when force_ruby_platform is set

@indirect
Copy link
Member

@bundlerbot r+

@bundlerbot
Copy link
Collaborator

📌 Commit a4ea98e has been approved by indirect

@bundlerbot
Copy link
Collaborator

⌛ Testing commit a4ea98e with merge 8eb8a5d...

bundlerbot added a commit that referenced this pull request Jan 23, 2017
[CurrentRuby] Ensure the local platform isnt ruby before checking os/cpu

Closes #5344

fixes the problem since `Bundler.local_platform` can now be `"ruby"` on Windows, instead of a full-blown `Gem::Platform` object, when `force_ruby_platform` is set
@bundlerbot
Copy link
Collaborator

☀️ Test successful - status-travis
Approved by: indirect
Pushing 8eb8a5d to master...

@bundlerbot bundlerbot merged commit a4ea98e into master Jan 23, 2017
segiddins pushed a commit that referenced this pull request Jan 23, 2017
[CurrentRuby] Ensure the local platform isnt ruby before checking os/cpu

Closes #5344

fixes the problem since `Bundler.local_platform` can now be `"ruby"` on Windows, instead of a full-blown `Gem::Platform` object, when `force_ruby_platform` is set

(cherry picked from commit 8eb8a5d)
@hsbt hsbt deleted the seg-windows-force-ruby branch December 22, 2017 05:37
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bundler crashes when force_ruby_platform is set to true
3 participants