stretch:rbenv
This is an old revision of the document!
rbenv
git clone https://github.com/sstephenson/rbenv.git ~/.rbenv
(.bashrc/.zshrc already taken care of in .shellrc)
git clone https://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build
(may also want the rehash plugin rbenv-gem-rehash has been integrated into rbenv core, woop.
rbenv-gem-rehash)
Try and compile shit to be faster (don't worry if it fails):
cd ~/.rbenv && src/configure && make -C src
~/.rbenv/bin is already in your $PATH because you won config.
~/.rbenv/bin/init
Restart your shell because .shellrc only kicks in at startup.
Ignore the eval shit, again, you won. Check if you want to check:
curl -fsSL https://github.com/rbenv/rbenv-installer/raw/master/bin/rbenv-doctor | zsh
ruby-build
mkdir -p "$(rbenv root)"/plugins git clone https://github.com/rbenv/ruby-build.git "$(rbenv root)"/plugins/ruby-build
rbenv install --list rbenv install 2.3.0
(Requisites: https://github.com/rbenv/ruby-build/wiki#suggested-build-environment)
stretch/rbenv.1511481289.txt.gz · Last modified: 2019/11/07 17:58 (external edit)