Skip to content

Commit

Permalink
add homebrew install discription
Browse files Browse the repository at this point in the history
  • Loading branch information
Kiryuanzu committed Sep 20, 2022
1 parent 30fc3aa commit afe3202
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
5 changes: 5 additions & 0 deletions EN/2_mri_structure.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@ If you use `apt-get` (or `apt`) for package management in your environment, then
```
$ sudo apt-get install git ruby autoconf bison gcc make zlib1g-dev libffi-dev libreadline-dev libgdbm-dev libssl-dev libyaml-dev
```
If you use `homebrew` for package management in your environment, then you can get all dependencies with the following command:

```
$ brew install git ruby autoconf bison gcc make zlib libffi readline gdbm openssl libyaml
```

## Exercise: Clone the MRI source code

Expand Down
6 changes: 6 additions & 0 deletions JA/2_mri_structure.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,12 @@ git、ruby、autoconf、bison、gcc (or clang, etc)、make が必須です。
$ sudo apt-get install git ruby autoconf bison gcc make zlib1g-dev libffi-dev libreadline-dev libgdbm-dev libssl-dev libyaml-dev
```

`homebrew` でインストールする場合は下記のコマンドを実行してみてください。

```
$ brew install git ruby autoconf bison gcc make zlib libffi readline gdbm openssl libyaml
```

## 演習: MRI のソースコードを clone

1. `$ mkdir workdir`
Expand Down

0 comments on commit afe3202

Please sign in to comment.