forked from opensearch-project/documentation-website
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds documentation for installing ruby for apple silicon fixes opense…
…arch-project#8614 Signed-off-by: Brian Flores <[email protected]>
- Loading branch information
1 parent
fb8d9d3
commit ef93838
Showing
1 changed file
with
11 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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: | ||
|
||
|