Tutorial by Examples

The easiest way to install and manage various versions of Ruby with rbenv is to use the ruby-build plugin. First clone the rbenv repository to your home directory: $ git clone https://github.com/rbenv/rbenv.git ~/.rbenv Then clone the ruby-build plugin: $ git clone https://github.com/rbenv/rub...
There are two ways to uninstall a particular version of Ruby. The easiest is to simply remove the directory from ~/.rbenv/versions: $ rm -rf ~/.rbenv/versions/2.1.0 Alternatively, you can use the uninstall command, which does exactly the same thing: $ rbenv uninstall 2.1.0 If this version ha...

Page 1 of 1