/zsh-rbenv

A zsh rbenv plugin

Primary LanguageShellMIT LicenseMIT

Usage

This plugin is based on the zsh-pyenv plugin. This plugin will install rbenv and make it readily available.

It also comes with two additional plugins:

  1. ruby-build which makes the ruby install command available.
  2. rbenv-update which will check for and update rbenv and all its plugins.

Upgrade

If you want to upgrade to the latest rbenv: $ rbenv update

Installation

Dependencies

sudo apt install build-essential libssl-dev zlib1g-dev

Manually

Clone this repository into your desired location. (I have mine installed in .zsh/plugins) and source it in your .zshrc

git clone https://github.com/ecortinas/zsh-rbenv.git ~/.zsh/plugins
echo "source ~/.zsh/plugins/zsh-rbenv.plugin.zsh" >> ~/.zshrc