gem yank: Retirando una Versión de una Gema de

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

$ gem list tictactoe -ra
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]

    -v, --version VERSION            Specify version of gem to remove
        --platform PLATFORM          Specify the platform of gem to remove
    -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

    GEM       name of gem

    Remove a specific gem version release from

    Remove a specific gem version release from

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