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

Restrict platforms when using gemspec in DSL #4114

Merged
merged 1 commit into from
Nov 27, 2015

Conversation

smellsblue
Copy link
Contributor

When referencing a gemspec in the Gemfile, restrict what platforms to check against to just those defined by the gemspec itself.

This fixes #4102

@segiddins
Copy link
Member

Awesome @smellsblue ! Can we also get a spec that attempts to install the whole gemfile, just to be sure?

@segiddins
Copy link
Member

@indirect this look good to you?

@segiddins
Copy link
Member

@homu r+

@homu
Copy link
Contributor

homu commented Nov 26, 2015

📌 Commit 4b7a940 has been approved by segiddins

@homu
Copy link
Contributor

homu commented Nov 27, 2015

⌛ Testing commit 4b7a940 with merge 50731b9...

homu added a commit that referenced this pull request Nov 27, 2015
Restrict platforms when using gemspec in DSL

When referencing a `gemspec` in the `Gemfile`, restrict what platforms to check against to just those defined by the `gemspec` itself.

This fixes #4102
@homu
Copy link
Contributor

homu commented Nov 27, 2015

☀️ Test successful - status

@homu homu merged commit 4b7a940 into rubygems:master Nov 27, 2015
jowl pushed a commit to iconara/rubydoop that referenced this pull request Dec 15, 2015
Since Bundler v1.11.0 (or specifically
rubygems/bundler#4114), Bundler no longer
installs dependencies of local gems whose platform doesn't match the
local gemspec.
glennpratt added a commit to glennpratt/bundler that referenced this pull request Feb 1, 2016
@coilysiren coilysiren modified the milestone: Release Archive Oct 9, 2016
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.

Bundling sometimes fails on JRuby
4 participants