Republish the same version after yanking doesn't seem to work

robz's Avatar


16 Jul, 2010 04:15 PM

I get an error that it already exists when I try to do this.

Steps to recreate:
gem publish name-0.gem
gem yank name -v 0
gem publish name-0.gem

  1. Support Staff 1 Posted by Nick Quaranto on 16 Jul, 2010 10:21 PM

    Nick Quaranto's Avatar

    Yes, this is by design. The purpose is that mirrors will always be up to date and won't have gems with the same versions but actually are different. The main reason behind this is so expectations aren't broken from day to day...if i download a gem with version A on day 1, it should be same codebase on day 2 when I download it again. :)

  2. Nick Quaranto closed this discussion on 16 Jul, 2010 10:21 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac