From e92213142205f18fc57868460746c106f5128727 Mon Sep 17 00:00:00 2001 From: Daryl Manning Date: Fri, 3 Feb 2012 17:48:20 +1100 Subject: [PATCH 1/4] Added in section 2.4 on uninstalling rubies from .rbenv/versions to the README. --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 0d402bd8..8d308ca8 100644 --- a/README.md +++ b/README.md @@ -45,6 +45,7 @@ tools that do one thing well. * [2.1.1 Upgrading](#section_2.1.1) * [2.2 Homebrew on Mac OS X](#section_2.2) * [2.3 Neckbeard Configuration](#section_2.3) + * [2.4 Uninstalling Rubies](#section_2.4) * [3 Usage](#section_3) * [3.1 rbenv global](#section_3.1) * [3.2 rbenv local](#section_3.2) @@ -202,6 +203,15 @@ opposed to this idea. Here's what `rbenv init` actually does: Run `rbenv init -` for yourself to see exactly what happens under the hood. +### 2.4 Uninstalling Rubies + +As time goes on, ruby versions you install will accumulate in your +`~/.rbenv/versions` directory. + +There is no uninstall or remove command in rbenv, so removing old +versions is a simple matter of `rm -rf` the directory of the relevant +ruby version you want removed under `~/.rbenv/versions` + ## 3 Usage Like `git`, the `rbenv` command delegates to subcommands based on its From b7e9569ccb489a6e24a7b0cc9975bc4e6ea71fd5 Mon Sep 17 00:00:00 2001 From: Daryl Manning Date: Fri, 3 Feb 2012 17:52:09 +1100 Subject: [PATCH 2/4] Embrassing typo in the anchor link neme != name. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 8d308ca8..c5bf74db 100644 --- a/README.md +++ b/README.md @@ -203,7 +203,7 @@ opposed to this idea. Here's what `rbenv init` actually does: Run `rbenv init -` for yourself to see exactly what happens under the hood. -### 2.4 Uninstalling Rubies +### 2.4 Uninstalling Rubies As time goes on, ruby versions you install will accumulate in your `~/.rbenv/versions` directory. From 9b286ecbfd9b498ba19600d68334d9ca16f2ee75 Mon Sep 17 00:00:00 2001 From: Daryl Manning Date: Fri, 3 Feb 2012 17:54:07 +1100 Subject: [PATCH 3/4] And better codify the rbenv command just for good measure. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c5bf74db..5d08032e 100644 --- a/README.md +++ b/README.md @@ -208,7 +208,7 @@ hood. As time goes on, ruby versions you install will accumulate in your `~/.rbenv/versions` directory. -There is no uninstall or remove command in rbenv, so removing old +There is no uninstall or remove command in `rbenv`, so removing old versions is a simple matter of `rm -rf` the directory of the relevant ruby version you want removed under `~/.rbenv/versions` From 5e57ab95ce619467c9ca97b9c8c80b6c1bac0128 Mon Sep 17 00:00:00 2001 From: Daryl Manning Date: Thu, 9 Feb 2012 16:20:53 +1100 Subject: [PATCH 4/4] Changed doc/README.mdtoc and built README.md and changed nomenclature to 'ruby versions' as requested. --- README.md | 4 ++-- doc/README.mdtoc | 9 +++++++++ 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 5d08032e..4c0d3400 100644 --- a/README.md +++ b/README.md @@ -45,7 +45,7 @@ tools that do one thing well. * [2.1.1 Upgrading](#section_2.1.1) * [2.2 Homebrew on Mac OS X](#section_2.2) * [2.3 Neckbeard Configuration](#section_2.3) - * [2.4 Uninstalling Rubies](#section_2.4) + * [2.4 Uninstalling Ruby Versions](#section_2.4) * [3 Usage](#section_3) * [3.1 rbenv global](#section_3.1) * [3.2 rbenv local](#section_3.2) @@ -203,7 +203,7 @@ opposed to this idea. Here's what `rbenv init` actually does: Run `rbenv init -` for yourself to see exactly what happens under the hood. -### 2.4 Uninstalling Rubies +### 2.4 Uninstalling Ruby Versions As time goes on, ruby versions you install will accumulate in your `~/.rbenv/versions` directory. diff --git a/doc/README.mdtoc b/doc/README.mdtoc index 4215127e..0bc1abc8 100644 --- a/doc/README.mdtoc +++ b/doc/README.mdtoc @@ -183,6 +183,15 @@ opposed to this idea. Here's what `rbenv init` actually does: Run `rbenv init -` for yourself to see exactly what happens under the hood. +### Uninstalling Ruby Versions ### + +As time goes on, ruby versions you install will accumulate in your +`~/.rbenv/versions` directory. + +There is no uninstall or remove command in `rbenv`, so removing old +versions is a simple matter of `rm -rf` the directory of the relevant +ruby version you want removed under `~/.rbenv/versions` + ## Usage ## Like `git`, the `rbenv` command delegates to subcommands based on its