gem yank --undo fails if it's the only gem

Michel Martens's Avatar

Michel Martens

06 Apr, 2010 03:04 PM

I pushed a gem, then yanked it and then tried gem yank --undo. It fails by saying "You do not have permission to yank this gem." The gem name is nest, and it's the first release I pushed.

  1. Support Staff 1 Posted by Nick Quaranto on 09 Apr, 2010 11:59 PM

    Nick Quaranto's Avatar

    Yeah, I guess this is by design, since once you're yanked all versions you can give ownership to someone else. I think we can add a result in for the yank --undo endpoint to help guide confused users in the right direction.

  2. 2 Posted by Jacob Hollenbec... on 30 Jun, 2010 01:56 AM

    Jacob Hollenbeck's Avatar

    I understand how this should work... But it simply does not work. I push my gem (v1.0.0) and then yank it to push some fixes, and I still cannot push it as it says I cannot repush a gem version, but it has already been yanked... Gem is "sluggify"

  3. Support Staff 3 Posted by Nick Quaranto on 05 Jul, 2010 02:44 PM

    Nick Quaranto's Avatar

    You can't repush gem versions, you need to bump to a higher version. This is also done intentionally so mirrors don't get out of date and you can always depend that a gem is the same version when you download it at different times. You're not going to run out of gem versions!

  4. Nick Quaranto closed this discussion on 17 Jul, 2010 08:19 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

30 Oct, 2014 04:34 PM
30 Oct, 2014 02:46 PM
28 Oct, 2014 09:51 AM
23 Oct, 2014 05:37 PM
21 Oct, 2014 10:47 AM