Skip to content

Commit

Permalink
[DOC] Refine/fix doc/contributing/building_ruby.md [ci skip]
Browse files Browse the repository at this point in the history
* Separate dependencies for RubyGems
* Add reasons of optional libraries
* Add a note for gperf and fix the required version
  • Loading branch information
nobu committed Feb 8, 2023
1 parent 3a0f6ce commit 6aa1961
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions doc/contributing/building_ruby.md
Expand Up @@ -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
Expand All @@ -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))
Expand Down

0 comments on commit 6aa1961

Please sign in to comment.