summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2023-02-08 20:11:40 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2023-02-08 20:15:47 +0900
commit6aa196149a479c2d8dd415dfd0d044ec1d3fd7df (patch)
tree7203a124eaaa1816f93bfd611a1516dc2c7d60bc /doc
parent3a0f6ce1d31eefd8af01b50f3632a64d64e8f8c1 (diff)
downloadruby-6aa196149a479c2d8dd415dfd0d044ec1d3fd7df.tar.gz
[DOC] Refine/fix doc/contributing/building_ruby.md [ci skip]
* Separate dependencies for RubyGems * Add reasons of optional libraries * Add a note for gperf and fix the required version
Diffstat (limited to 'doc')
-rw-r--r--doc/contributing/building_ruby.md10
1 files changed, 7 insertions, 3 deletions
diff --git a/doc/contributing/building_ruby.md b/doc/contributing/building_ruby.md
index 82ccef669c..452f0d16b4 100644
--- a/doc/contributing/building_ruby.md
+++ b/doc/contributing/building_ruby.md
@@ -5,6 +5,9 @@
1. Install the prerequisite dependencies for building the CRuby interpreter:
* C compiler
+
+ For RubyGems, you will also need:
+
* OpenSSL 1.1.x or 3.0.x / LibreSSL
* libyaml 0.1.7 or later
* zlib
@@ -13,14 +16,15 @@
* autoconf - 2.67 or later
* bison - 3.0 or later
- * gperf - 3.0.3 or later
+ * gperf - 3.1 or later
+ * Usually unneeded; only if you edit some source files using gperf
* ruby - 2.2 or later
* We can upgrade this version to system ruby version of the latest Ubuntu LTS.
2. Install optional, recommended dependencies:
- * readline/editline (libedit)
- * libffi
+ * readline/editline (libedit, to build readline)
+ * libffi (to build fiddle)
* gmp (if you with to accelerate Bignum operations)
* libexecinfo (FreeBSD)
* rustc - 1.58.0 or later (if you wish to build [YJIT](/doc/yjit/yjit.md))