# Ruby
## Install
### Installation on [[macOS]]
```bash
brew install chruby ruby-install
ruby-install ruby
```
Check that everything is ok:
```bash
ruby -v
```
To switch between Ruby versions:
```bash
chruby 3.0.1
```
- (errored for me in the past)
More information
- See this [Stack Overflow answer](https://stackoverflow.com/a/54873916).
- [Full guide](https://www.moncefbelyamani.com/how-to-install-xcode-homebrew-git-rvm-ruby-on-mac/?utm_source=stackoverflow) linked in the answer above and in my install script
- Don't have to follow the instructions exactly
### Install [Bundler](https://bundler.io/)
A means to manage Ruby dependencies
```bash
gem install bundler
```