Do no have permission to (un)yank gem.
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!
Comments are currently closed for this discussion. You can start a new one.
Support Staff 2 Posted by Nick Quaranto on 08 Mar, 2010 07:04 PM
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.3 Posted by Todd Eichel on 08 Mar, 2010 09:26 PM
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
Support Staff 4 Posted by Nick Quaranto on 11 Mar, 2010 12:02 AM
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.
5 Posted by Todd Eichel on 11 Mar, 2010 12:08 AM
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
Support Staff 6 Posted by Nick Quaranto on 11 Mar, 2010 12:17 AM
I'm going to make this public for others who may be searching about this same issue. Glad it got worked out.
Nick Quaranto closed this discussion on 11 Mar, 2010 12:17 AM.
Todd Eichel re-opened this discussion on 11 Mar, 2010 12:20 AM
7 Posted by Todd Eichel on 11 Mar, 2010 12:20 AM
Sounds good. I was going to suggest that too.
Nick Quaranto closed this discussion on 11 Mar, 2010 12:21 AM.