This tool is used to install rbenv
and some plugins. It also provides
scripts to install required software to be able to compile Ruby.
- Git
- Curl
Install rbenv and friends by running:
curl https://raw.github.com/fesplugas/rbenv-installer/master/bin/rbenv-installer | bash
Install Ruby 1.9.3-p392
and make it global:
rbenv install 1.9.3-p392
rbenv global 1.9.3-p392
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-12-04
rbenv source code is available at https://github.com/sstephenson/rbenv