Skip to content

Commit

Permalink
Adds documentation for installing ruby for apple silicon fixes opense…
Browse files Browse the repository at this point in the history
…arch-project#8614

Signed-off-by: Brian Flores <[email protected]>
  • Loading branch information
brianf-aws committed Oct 23, 2024
1 parent fb8d9d3 commit ef93838
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,11 +82,22 @@ Follow these steps to set up your local copy of the repository:

1. Install [Ruby](https://www.ruby-lang.org/en/) if you don't already have it. We recommend [RVM](https://rvm.io/), but you can use any method you prefer:

###### For non-Apple silicon machines:

```
curl -sSL https://get.rvm.io | bash -s stable
rvm install 3.2.4
ruby -v
```
##### For Apple silicon machines:
Source: [Installing Ruby on Apple Silicon by Emmanuel Bernard ](https://emmanuelbernard.com/blog/2023/12/01/installing-ruby-on-apple-silicon/)

```
# Assumes Brew is installed
curl -sSL https://get.rvm.io | bash -s stable
rvm install 3.2.4 --with-openssl-dir=$(brew --prefix [email protected])
ruby -v
```

1. Install [Bundler](https://bundler.io/) if you don't already have it:

Expand Down

0 comments on commit ef93838

Please sign in to comment.