Maintaing a Ruby gem

Topics: Ruby

This note records RubyGems CLI commands to authenticate, build a .gem archive, and publish a named package version to the RubyGems repository.

Get authorisation key

$ gem signin

Publish new gem version

$ gem build
$ gem push my-gem-1.2.3.gem