stdgems

Default Libraries

A few libraries included in Ruby will not be transformed into standard gems. They do not have their own version and are maintained within the Ruby source. They can be directly required in any Ruby code.

Non-Gem Default Libraries

Default Library Description Resources
cgi-escape c HTML and URI escape utilities CRuby (1) · CRuby (2)
continuation c Adds the goto-like Kernel#callcc RDoc · CRuby · JRuby
coverage c Measures code coverage RDoc · CRuby · JRuby (1) · JRuby (2)
mkmf Generates Makefiles for native C extensions RDoc · CRuby
monitor c Monitors for multi-threaded code RDoc · CRuby · JRuby (1) · JRuby (2)
objspace c Adds more statistics methods to ObjectSpace. Since Ruby 3.1, it also includes the objspace/trace debug utility. RDoc · CRuby · JRuby
pathname Provides extra methods for the Pathname class: #find, #rmtree, and #mktmpdir RDoc · CRuby
pty c Manages pseudo terminals. Also includes the IO#expect method via require 'expect', which can be used to wait for a specific pattern to be read. RDoc · CRuby · JRuby (1) · JRuby (2)
rbconfig c RbConfig is a Ruby constant that contains compile time information CRuby (1) · CRuby (2) · CRuby (3) · JRuby (1) · JRuby (2) · JRuby (3)
ripper c Ruby parser that creates a symbolic expression tree RDoc · CRuby · JRuby (1) · JRuby (2) · JRuby (3)
set-subclass_compatible Ruby-only implementation of Set used in sub-classes of Set for backwards compatibility CRuby
socket c Support for unix- and network sockets RDoc · CRuby · JRuby (1) · JRuby (2)
unicode_normalize Adds a String#unicode_normalize method which normalizes unicode strings RDoc (1) · RDoc (2) · CRuby (1) · JRuby (1) · JRuby (2)

More Standard Gems