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

robz's Avatar

robz

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 2 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

Generic

? 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

Recent Discussions

29 Aug, 2014 06:23 PM
28 Aug, 2014 07:18 PM
27 Aug, 2014 12:03 PM
26 Aug, 2014 07:09 PM
26 Aug, 2014 07:07 PM