gem yank: Retirando una Versión de una Gema de RubyGems.org

You can't push the same gem version twice. Yanking just marks a particular version as 'invalid':

$ gem list tictactoe -ra
*** REMOTE GEMS ***
tic-tac.toe (0.3.4, 0.3.3, 0.3.2, 0.3.1)

gem yank tic-tac-toe -v0.3.4
Veamos la página de ayuda:
[~/ruby_quiz/tictactoe/solutions/eduardo_segredo(john)]$ gem help yank
Usage: gem yank GEM -v VERSION [-p PLATFORM] [--undo] [--key KEY_NAME] [options]

  Options:
    -v, --version VERSION            Specify version of gem to remove
        --platform PLATFORM          Specify the platform of gem to remove
        --undo
    -k, --key KEY_NAME               Use API key from your gem credentials file


  Common Options:
    -h, --help                       Get help on this command
    -V, --[no-]verbose               Set the verbose level of output
    -q, --quiet                      Silence commands
        --config-file FILE           Use this config file instead of default
        --backtrace                  Show stack backtrace on errors
        --debug                      Turn on Ruby debugging


  Arguments:
    GEM       name of gem

  Summary:
    Remove a specific gem version release from RubyGems.org

  Description:
    Remove a specific gem version release from RubyGems.org

In previous versions we had to install gemcutter. It will add global yank command for RubyGems.

$ rvm rubygems latest
$ gem update --system
$ gem install gemcutter
It seems that the current version of RubyGems already includes yank.

Casiano Rodriguez León 2015-01-07