Skip to content

Commit 7456647

Browse files
committed
[DOC] Properly number the list in building_ruby.md
1 parent cb2323a commit 7456647

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

doc/contributing/building_ruby.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* gperf - 3.0.3 or later
1111
* ruby - 2.7 or later
1212

13-
1. Install optional, recommended dependencies:
13+
2. Install optional, recommended dependencies:
1414

1515
* OpenSSL/LibreSSL
1616
* readline/editline (libedit)
@@ -20,41 +20,41 @@
2020
* libexecinfo (FreeBSD)
2121
* rustc - 1.58.1 or later (if you wish to build [YJIT](/doc/yjit/yjit.md))
2222

23-
1. Checkout the CRuby source code:
23+
3. Checkout the CRuby source code:
2424

2525
```
2626
git clone https://github.com/ruby/ruby.git
2727
```
2828
29-
1. Generate the configure file:
29+
4. Generate the configure file:
3030
3131
```
3232
./autogen.sh
3333
```
3434
35-
1. Create a `build` directory outside of the source directory:
35+
5. Create a `build` directory outside of the source directory:
3636
3737
```
3838
mkdir build && cd build
3939
```
4040
4141
While it's not necessary to build in a separate directory, it's good practice to do so.
4242
43-
1. We'll install Ruby in `~/.rubies/ruby-master`, so create the directory:
43+
6. We'll install Ruby in `~/.rubies/ruby-master`, so create the directory:
4444
4545
```
4646
mkdir ~/.rubies
4747
```
4848
49-
1. Run configure:
49+
7. Run configure:
5050
5151
```
5252
../configure --prefix="${HOME}/.rubies/ruby-master"
5353
```
5454
5555
- If you are frequently building Ruby, add the `--disable-install-doc` flag to not build documentation which will speed up the build process.
5656
57-
1. Build Ruby:
57+
8. Build Ruby:
5858
5959
```
6060
make install
@@ -77,7 +77,7 @@
7777
7878
Remember to delete your `build` directory and start again from the configure step.
7979
80-
6. [Run tests](testing_ruby.md) to confirm your build succeeded.
80+
9. [Run tests](testing_ruby.md) to confirm your build succeeded.
8181
8282
### Unexplainable Build Errors
8383

0 commit comments

Comments
 (0)