This tool is used to install rbenv and some plugins.
NB: This was forked from https://github.com/fesplugas/rbenv-installer but that repo has since been removed.
- Git
- Curl
Install rbenv and friends by running:
curl https://raw.githubusercontent.com/k-and-r/rbenv-installer/master/bin/rbenv-installer | bashPlugins installed:
- carsomyr/rbenv-bundler
- sstephenson/rbenv-vars
- sstephenson/ruby-build
- sstephenson/rbenv-default-gems
- sstephenson/rbenv-gem-rehash
- K-and-R/rbenv-installer
- K-and-R/rbenv-bootstrap
- rkh/rbenv-update
- rkh/rbenv-whatis
- rkh/rbenv-use
Install latest stable Ruby and make it global:
rbenv install 2.6.3
rbenv global 2.6.3Update rbenv and plugins provided by the installer running:
rbenv updateIf you are installing rbenv in Ubuntu you'll probably need to install
some required packages. You can use the provided bootstrap scripts.
rbenv bootstrap-ubuntu-18-04rbenv source code is available at https://github.com/sstephenson/rbenv