Skip to content

janlelis/stdgems

About the Gemified Standard Library

Large portions of Ruby's standard library come in the form of RubyGems, which can be updated independently from Ruby.

There are two different kinds of standard gems:

  • Default gems: These gems are part of Ruby and you can always require them directly. You cannot remove them. They are maintained by Ruby core.

  • Bundled gems: The behavior of bundled gems is similar to normal gems, but they get automatically installed when you install Ruby. They can be uninstalled and they are maintained outside of Ruby core.

There are a few libraries that will stay non-gem default libraries, because they are very dependent on the specific Ruby version.

About the stdgems.org project

This repository contains four JSON files:

The first two files contain data about all default and bundled gems and which Ruby version comes with which version of the gem. The third file contains data about all the non-gemified standard libraries. The fourth JSON combines the above ones into a single unified list.

Go to stdgems.org to easily browse the standard gem data and more info.

Access Version Data from Ruby

You can use Taichi Ishitani's stdgems_version gem.