Ruby
rbenv
rbenv-gemset
install
code: bash
rbenv init
mkdir test-dir && cd test-dir
rbenv versions
rbversion="2.7.1"
rbenv local ${rbversion}
rbenv gemset list
gemsetname="test"
rbenv gemset create ${rbversion} ${gemsetname}
rbenv gemset init ${gemsetname}
gem list
uninstall
code: bash
rbenv uninstall ${rbversion}
# If old files exist
rm -fr ~/.rbenv/versions/${rbversion}
rbenv rehash
Reference
bundler
Reference
Reference