summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2023-02-07 17:29:19 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2023-02-07 17:29:19 +0900
commit8623c81220541cb05e793e3e9aec8a561e2c57e2 (patch)
tree5725d988820adf86490b2f71ebf8825207f66a4e /doc
parent5ee39ea67f1e683322363129c82be83dea2432b1 (diff)
downloadruby-8623c81220541cb05e793e3e9aec8a561e2c57e2.tar.gz
Document default gems and bundled gems specifications
Diffstat (limited to 'doc')
-rw-r--r--doc/standard_library.rdoc14
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/standard_library.rdoc b/doc/standard_library.rdoc
index 7c9938c5b0..6ea7ae9cd6 100644
--- a/doc/standard_library.rdoc
+++ b/doc/standard_library.rdoc
@@ -23,6 +23,14 @@ Socket:: Access underlying OS socket implementations
= Default gems
+* default gems are shipped with Ruby releases and also available as rubygems.
+* default gems are not uninstallable from Ruby installation.
+* default gems can be updated used by rubygems.
+ * e.g. `gem update json`
+* default gems can be used with bundler environment like `clean_env`.
+* default gems can be used any version on Gemfile.
+ * e.g. `gem "json", ">= 2.6"`
+
== Libraries
Abbrev:: Calculates a set of unique abbreviations for a given set of strings
@@ -99,6 +107,12 @@ Zlib:: Ruby interface for the zlib compression/decompression library
= Bundled gems
+* bundled gems are shipped with Ruby releases and also available as rubygems.
+* bundled gems are same as normal gems like `rails`, `rack`.
+ * They are only bundled with Ruby releases.
+ * They can be uninstallable from Ruby installation.
+ * They are needed to declare in Gemfile when use with bundler.
+
== Libraries
MiniTest:: A test suite with TDD, BDD, mocking and benchmarking