January 2021

What are default and bundled gems in Ruby?

With Ruby 3.0 the standard library is going to become default gems.

A Ruby installation has three parts. The standard library, default gems, and bundled gems.

The standard library is the core language and utilities. Default gems are gems that cannot be removed, but need not be required. Bundled gems are gems that come along with a Ruby installation, but must be explicitly required as a dependency and can be removed.

There is an ongoing effort to extract parts of the Ruby standard library to default gems. By keeping the standard library itself lean, you free its component parts from being unnecessarily tied to a larger development and release cycle, as well as making bits easier to remove or deprecate as time goes on.

Things I Read

In Progress

  • Continuing to read A Promised Land by Barack Obama. Maybe 70% of the way through this.
Respond to this post via e-mail