Skip to content

Commit

Permalink
Update ruby install instructions with example commands for rbenv
Browse files Browse the repository at this point in the history
  • Loading branch information
MajorLift committed Oct 18, 2024
1 parent 7303d77 commit 7e51112
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
13 changes: 10 additions & 3 deletions docs/readme/environment.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,18 @@ brew install watchman

### Ruby

MacOS ships with an old ruby version that is incompatible with this project
MacOS ships with an old ruby version that is incompatible with this project.

It is recommended to install a Ruby version manager such as [rbenv](https://github.com/rbenv/rbenv?tab=readme-ov-file#installation)
It is recommended to install a ruby version manager, and use it to install the ruby version defined in the file `.ruby-version`.

Install ruby version defined in the file `.ruby-version`
For example, the following commands will [install `rbenv`](https://github.com/rbenv/rbenv?tab=readme-ov-file#installation) and use it to [install the configured ruby version](https://github.com/rbenv/rbenv#installing-ruby-versions):

```bash
brew install rbenv
rbenv init
rbenv install
rbenv local # if installation is successful, this will print the installed ruby version.
```

### Gems

Expand Down
1 change: 1 addition & 0 deletions ios/mixpanel-iphone
Submodule mixpanel-iphone added at 7485f5

0 comments on commit 7e51112

Please sign in to comment.