RbEnv

From Chorke Wiki
Revision as of 07:22, 28 November 2024 by Shahed (talk | contribs) (Created page with "<syntaxhighlight lang="bash"> 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 </syntaxhighlight> ==Playground== {| | valign="top" | <syntaxhighlight lang="bash"> type rbenv rbenv versions </syntaxhighlight> | valign="top" | <syntaxhighlight lang="bash"> rbenv install -l rbenv inst...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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

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