Skip to content

Latest commit

 

History

History
58 lines (37 loc) · 1.44 KB

README.md

File metadata and controls

58 lines (37 loc) · 1.44 KB

plenv installer

This tool installs plenv and friends. It is copied from pyenv installer.

Prerequisites

Installation / Update / Uninstallation

Once prerequisites have been installed correctly:

Install

$ curl -L https://github.com/gingerhot/plenv-installer/raw/master/bin/plenv-installer | bash

Restart your shell so the path changes take effect:

$ exec $SHELL

You can now begin using plenv.

If you need, export USE_GIT_URI to use git:// instead of https:// for git clone.

Update

see here.

Uninstall

plenv is installed within $PLENV_ROOT (default: ~/.plenv). To uninstall, just remove it:

$ rm -fr ~/.plenv

then remove these two lines from .bashrc:

export PATH="$HOME/.plenv/bin:$PATH" eval "$(plenv init -)"

and finally, restart your shell:

$ exec $SHELL

Using plenv-installer on Travis CI Travis itself uses plenv and therefore PLENV_ROOT is set already. To make it work anyway the installation for plenv-installer needs to look like this:

[...]