You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
574 B

# Ruby
# Getting setup - how I did it
Installed some version management
Not sure if it's right, but years ago I was using
[rbenv](https://github.com/rbenv/rbenv). I recall
[chruby](https://github.com/postmodern/chruby) being a thing that was
"lightweight", so lets try that out.
```
$ brew install chruby ruby-install
```
Installed the latest ruby
```
$ ruby-install ruby
```
Added to `~/.bashrc`
```sh
source /usr/local/opt/chruby/share/chruby/chruby.sh
chruby 2
```
Give a test run
```
$ ruby -v
ruby 2.6.4p104 (2019-08-28 revision 67798) [x86_64-darwin18]
```