0Pricing
Ruby Academy · Lesson

Publishing to RubyGems

Release your gem.

What Is RubyGems.org?

RubyGems.org is the public host where Ruby gems are published and downloaded. When you run gem install or bundle install, it fetches packages from there by default.

  • Publishing makes your gem installable worldwide.
  • Each gem name is unique and first-come.
  • Once a version is published it should be treated as permanent.

Create an Account

Before publishing you need a free RubyGems.org account. You then sign in from the command line so the gem tool can authenticate your uploads. Credentials are stored locally for future pushes.

All lessons in this course

  1. Gem Structure
  2. Writing the Code
  3. Testing and Versioning
  4. Publishing to RubyGems
← Back to Ruby Academy