Do no have permission to (un)yank gem.

Todd Eichel's Avatar

Todd Eichel

08 Mar, 2010 11:46 AM

I'm trying to unyank tfe-phone -v 0.9.9, but ideally I'd just delete it permanently and push a fixed 0.9.9. Can you delete it? If not, can we figure out why I can't unyank it? Thanks!

  1. Support Staff 1 Posted by Nick Quaranto on 08 Mar, 2010 07:04 PM

    Nick Quaranto's Avatar

    So you can unyank a gem with gem yank --undo...I would suggest just to bump by a patch version, perhaps 0.9.91 or 0.9.9.1. You're not going to run out of gem versions any time soon, and unless that gem has malicious or harmful code in it it's probably not worth it to perma-delete.

  2. 2 Posted by Todd Eichel on 08 Mar, 2010 09:26 PM

    Todd Eichel's Avatar

    Thanks, I'll just do that. But when I tried to unyank this is what I got:

    ~/plugins/phone [master] $ sudo gem yank tfe-phone -v 0.9.9 --undo
    Unyanking gem from RubyGems.org...
    You do not have permission to yank this gem.

    Not sure if that's supposed to happen...

    Todd

  3. Support Staff 3 Posted by Nick Quaranto on 11 Mar, 2010 12:02 AM

    Nick Quaranto's Avatar

    Ah, so this is expected. When you yank the last version your ownership is revoked so anyone can take over the namespace. I see you've pushed a new version so you should have control back over it, so you can undo the yank now.

    If you have any other questions let me know.

  4. 4 Posted by Todd Eichel on 11 Mar, 2010 12:08 AM

    Todd Eichel's Avatar

    Ah, makes perfect sense. Though the presence of the new gem version
    means there's no longer a reason to un-yank the old one, lol.

    Thanks for your help and clarifications.

    Todd

  5. Support Staff 5 Posted by Nick Quaranto on 11 Mar, 2010 12:17 AM

    Nick Quaranto's Avatar

    I'm going to make this public for others who may be searching about this same issue. Glad it got worked out.

  6. Nick Quaranto closed this discussion on 11 Mar, 2010 12:17 AM.

  7. Todd Eichel re-opened this discussion on 11 Mar, 2010 12:20 AM

  8. 6 Posted by Todd Eichel on 11 Mar, 2010 12:20 AM

    Todd Eichel's Avatar

    Sounds good. I was going to suggest that too.

  9. Nick Quaranto closed this discussion on 11 Mar, 2010 12:21 AM.

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