Created
February 2, 2012 01:16
-
-
Save jordansissel/1720739 to your computer and use it in GitHub Desktop.
mass yanking all logstash from rubygems.org
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% gem list --remote logstash -a -v '>0' > /tmp/x | |
% grep '^logstash ' /tmp/x | fex '(2)1' | tr -d ' ' | tr ',' '\n' | xargs -n1 sh -c 'echo gem yank logstash -v $1' - | sh -x |& tee /tmp/output | |
+ gem yank logstash -v 1.0.17 | |
Yanking gem from RubyGems.org... | |
Pushing gem to https://rubygems.org... | |
Successfully yanked gem: logstash (1.0.17) | |
....... output trimmed .... | |
+ gem yank logstash -v 0.1.389 | |
Yanking gem from RubyGems.org... | |
Pushing gem to https://rubygems.org... | |
Successfully yanked gem: logstash (0.1.389) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment