RubyGems Guides

RubyGems Guides

Learn how RubyGems works, and how to make your own.

What is a gem?

Unpack the mystery behind what’s in a RubyGem.

Make your own gem

Start with an idea, end with a distributable package of Ruby code.

Publishing your gem

Start with an idea, end with a distributable package of Ruby code.

Patterns

Common gem packaging patterns and recommendations for building yours.

Specification Reference

Learn about the data in each gem package and how you can configure it.

Command Reference

In depth coverage of each gem command.

RubyGems.org API

Interact with publicly available gems over HTTP.

Run your own gem server

Need to serve gems locally or for your organization? Go here.

C Extensions

Learn how to make a gem that interacts with C code.

Resources

Great blog posts, tutorials, and other sites to help you out.

Contributing to RubyGems

How you can help make RubyGems and the surrounding ecosystem better.

Frequently Asked Questions

More of the “why” and “wtf” than “how”.

Plugins

Extensions that use the RubyGems plugin API.

Credits

This site is open source and its content is Creative Commons licensed.