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

Handle yanked gems #4606

Merged
merged 2 commits into from
May 30, 2016
Merged

Handle yanked gems #4606

merged 2 commits into from
May 30, 2016

Conversation

allenzhao
Copy link
Contributor

Close #4344

end
end

it "throws and error when there is gem yanked" do
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

an error

raise GemNotFound, "Your bundle is locked to #{locked_gem}, but that version could not " \
"be found in any of the sources listed in your Gemfile. If you haven't changed sources, " \
"that means the author of #{locked_gem} has removed it. You'll need to update your bundle " \
"to a different version of foo that hasn't been removed in order to install."
Copy link
Contributor

@RochesterinNYC RochesterinNYC May 29, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it says "different version of foo" in the error message. I think this should be the gem name (locked_gem), right?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, I forgot to change that

@RochesterinNYC
Copy link
Contributor

@allenzhao made a few comments. Other than those small changes, this LGTM.

@RochesterinNYC
Copy link
Contributor

@segiddins, can you r+ this or delegate me? Thanks.

@segiddins
Copy link
Member

@homu delegate=RochesterinNYC

@homu
Copy link
Contributor

homu commented May 29, 2016

✌️ @RochesterinNYC can now approve this pull request

@RochesterinNYC
Copy link
Contributor

@homu r+

@homu
Copy link
Contributor

homu commented May 30, 2016

📌 Commit 1587e0d has been approved by RochesterinNYC

@homu
Copy link
Contributor

homu commented May 30, 2016

⚡ Test exempted - status

@homu homu merged commit 1587e0d into rubygems:master May 30, 2016
homu added a commit that referenced this pull request May 30, 2016
@coilysiren coilysiren modified the milestone: Release Archive Sep 22, 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.

5 participants