← ALL HOW TOs
How to install Ruby on a Mac?
- Mac comes with Ruby
- Use RVM to get more versions of Ruby and manage versions
How to update Ruby on Mac? (last updated 2020-06)
- In app, update file .ruby-version to the desired ruby version. (i.e. 2.5.8)
cd ..
cd app_dir
- If that version of ruby hasn't been installed yet, rvm will provide directions on how to install it.
- For example...
rvm install "ruby-2.5.8"
- Likely will need to install bundler as well. There is a way to make bundler available to all apps, but rvm did something weird.
- gem install bundler -v 2.1.4
{"serverDuration": 82, "requestCorrelationId": "3449db49073ab0d8"}