0Pricing
Ruby Academy · Lesson

Creating Your Own Gem

Build and publish your own Ruby gem for others to use.

1

Creating Your Own Gem

Ruby allows developers to create their own reusable libraries, called gems.

In this lesson, you will learn how to build and publish a Ruby gem.

Creating Your Own Gem — illustration 1

2

Starting a New Gem Project

Use Bundler to generate a new gem structure:

bundle gem my_gem

All lessons in this course

  1. What Are Gems?
  2. Installing and Using Gems
  3. Managing Dependencies with Bundler
  4. Creating Your Own Gem
← Back to Ruby Academy