Install rbenv and friends and update all of them when you want to ...
Shell
Latest commit 22cc96a Nov 3, 2014 @fesplugas Update README.md
Failed to load latest commit information.
bin Added 'rbenv-gem-rehash' to plugins list. Jan 16, 2014
MIT-LICENSE Update MIT-LICENSE Feb 9, 2012
README.md Update README.md Nov 3, 2014

README.md

rbenv installer

This tool is used to install rbenv and some plugins.

Requirements

  • Git
  • Curl

Install

Install rbenv and friends by running:

curl https://raw.githubusercontent.com/fesplugas/rbenv-installer/master/bin/rbenv-installer | bash

Installing a Ruby

Install latest stable Ruby and make it global:

rbenv install 2.1.4
rbenv global 2.1.4

Updating

Update rbenv and plugins provided by the installer running:

rbenv update

Bootstrap

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

About rbenv

rbenv source code is available at https://github.com/sstephenson/rbenv