RbEnv

From Chorke Wiki
Jump to navigation Jump to search
cat << EXE | sudo bash
apt-get update;echo
apt list -a --upgradable
apt-get install -y build-essential libssl-dev libffi-dev libgmp3-dev libpq-dev
EXE

curl -fsSL https://github.com/rbenv/rbenv-installer/raw/HEAD/bin/rbenv-installer|bash
curl -fsSL https://github.com/rbenv/rbenv-installer/raw/HEAD/bin/rbenv-doctor|bash

Playground

type rbenv
rbenv versions
rbenv install -l
rbenv install -L
rbenv install --list
rbenv install --list-all

rbenv version
rbenv install 3.2.1
rbenv versions
rbenv local 3.2.1
rbenv which irb
rbenv global 3.2.1

References