stretch:rbenv
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| stretch:rbenv [2017/11/23 23:54] – [ruby-build] 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:// |
| < | < | ||
| - | Try and compile shit to be faster (don' | + | Don' |
| - | + | ||
| - | cd ~/.rbenv && src/ | + | |
| '' | '' | ||
| - | ~/ | + | ~/ |
| + | |||
| + | 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 '' | Restart your shell because '' | ||
| Line 21: | Line 25: | ||
| Ignore the eval shit, again, you won. Check if you want to check: | Ignore the eval shit, again, you won. Check if you want to check: | ||
| - | curl -fsSL https:// | + | |
| + | | ||
| ===== ruby-build ===== | ===== ruby-build ===== | ||
| - | mkdir -p "$(rbenv root)"/ | + | Prerequisites for building a ruby (needed on a pi): |
| - | | + | |
| + | | ||
| rbenv install --list | rbenv install --list | ||
| - | rbenv install 2.3.0 | + | rbenv install 2.4.2 # 11/17 stable |
| (Requisites: | (Requisites: | ||
stretch/rbenv.1511481289.txt.gz · Last modified: 2019/11/07 17:58 (external edit)