frankyonnetti
2/1/2020 - 8:18 PM

#ruby

Ruby - rbenv environments #ruby

# https://gorails.com/setup/osx/10.12-sierra
# https://github.com/rbenv/rbenv

# list all available versions:
$ rbenv install -l

# install a Ruby version:
$ rbenv install 2.1.0

# ensure that the target version for your project 
# is the one you want by checking:
$ rbenv local
# or
$ rbenv version

# check location where gems are being installed:
$ gem env home

# install gems
$ gem install GEM