tag:help.rubygems.org,2010-01-19:/discussions/problems/84-do-no-have-permission-to-unyank-gemRubyGems.org: Discussion 2018-10-18T19:50:52Ztag:help.rubygems.org,2010-01-19:Comment/11715152010-03-08T19:04:15Z2010-03-08T19:04:15ZDo no have permission to (un)yank gem.<div><p>So you can unyank a gem with <code>gem yank --undo</code>...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.</p></div>Nick Quarantotag:help.rubygems.org,2010-01-19:Comment/11715152010-03-08T21:26:24Z2010-03-08T21:26:24ZDo no have permission to (un)yank gem.<div><p>Thanks, I'll just do that. But when I tried to unyank this is
what I got:</p>
<p>~/plugins/phone [master] $ sudo gem yank tfe-phone -v 0.9.9
--undo Unyanking gem from RubyGems.org...<br>
You do not have permission to yank this gem.</p>
<p>Not sure if that's supposed to happen...</p>
<p>Todd</p></div>Todd Eicheltag:help.rubygems.org,2010-01-19:Comment/11715152010-03-11T00:02:14Z2010-03-11T00:02:14ZDo no have permission to (un)yank gem.<div><p>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.</p>
<p>If you have any other questions let me know.</p></div>Nick Quarantotag:help.rubygems.org,2010-01-19:Comment/11715152010-03-11T00:08:50Z2010-03-11T00:08:50ZDo no have permission to (un)yank gem.<div><p>Ah, makes perfect sense. Though the presence of the new gem
version<br>
means there's no longer a reason to un-yank the old one, lol.</p>
<p>Thanks for your help and clarifications.</p>
<p>Todd</p></div>Todd Eicheltag:help.rubygems.org,2010-01-19:Comment/11715152010-03-11T00:17:56Z2010-03-11T00:17:56ZDo no have permission to (un)yank gem.<div><p>I'm going to make this public for others who may be searching
about this same issue. Glad it got worked out.</p></div>Nick Quarantotag:help.rubygems.org,2010-01-19:Comment/11715152010-03-11T00:20:06Z2010-03-11T00:20:06ZDo no have permission to (un)yank gem.<div><p>Sounds good. I was going to suggest that too.</p></div>Todd Eichel