stretch:rbenv
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| stretch:rbenv [2017/11/23 23:41] – created slack | stretch:rbenv [2019/11/07 17:58] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ======= rbenv ======= | ======= rbenv ======= | ||
| - | git clone https:// | + | git clone https:// |
| | | ||
| (.bashrc/ | (.bashrc/ | ||
| - | git clone https:// | + | git clone https:// |
| < | < | ||
| + | |||
| + | Don't bother compiling the bash extension. | ||
| + | |||
| + | '' | ||
| + | |||
| + | ~/ | ||
| + | |||
| + | Which will tell you to add this to .zshrc (should be done) | ||
| + | |||
| + | # Load rbenv automatically by appending the following to ~/.zshrc: | ||
| + | | ||
| + | eval " | ||
| + | |||
| + | Restart your shell because '' | ||
| + | |||
| + | Ignore the eval shit, again, you won. Check if you want to check: | ||
| + | |||
| + | # don't pipe to zsh -- it is a bash-only script | ||
| + | curl -fsSL https:// | ||
| + | |||
| + | ===== ruby-build ===== | ||
| + | |||
| + | Prerequisites for building a ruby (needed on a pi): | ||
| + | |||
| + | apt-get install libssl-dev libreadline-dev | ||
| + | |||
| + | rbenv install --list | ||
| + | rbenv install 2.4.2 # 11/17 stable | ||
| + | |||
| + | (Requisites: | ||
stretch/rbenv.1511480471.txt.gz · Last modified: 2019/11/07 17:58 (external edit)