From 53d45707cab2ee894f1370d1f20b3f9a4fc64092 Mon Sep 17 00:00:00 2001 From: Sam Stephenson Date: Wed, 28 Sep 2011 12:19:36 -0500 Subject: [PATCH] Add Homebrew to the readme --- README.md | 15 +++++++++++++++ doc/README.mdtoc | 14 ++++++++++++++ 2 files changed, 29 insertions(+) diff --git a/README.md b/README.md index 1469ba7d..9c4d56e0 100644 --- a/README.md +++ b/README.md @@ -42,6 +42,7 @@ tools that do one thing well. * [1 How It Works](#section_1) * [2 Installation](#section_2) * [2.1 Upgrading an existing installation](#section_2.1) + * [2.2 Homebrew on Mac OS X](#section_2.2) * [3 Usage](#section_3) * [3.1 rbenv global](#section_3.1) * [3.2 rbenv local](#section_3.2) @@ -154,6 +155,20 @@ tag: v0.2.0 $ git checkout v0.2.0 +### 2.2 Homebrew on Mac OS X + +You can also install rbenv using the +[Homebrew](http://mxcl.github.com/homebrew/) package manager on Mac OS +X. + + $ brew update + $ brew install rbenv + +You'll need to add rbenv's shims directory to your path afterwards +(installation step 3 above). Follow the instructions above for +installing Ruby versions. (The ruby-build package can be installed +with Homebrew as well.) + ## 3 Usage Like `git`, the `rbenv` command delegates to subcommands based on its diff --git a/doc/README.mdtoc b/doc/README.mdtoc index 69cb7fb1..2f234ca2 100644 --- a/doc/README.mdtoc +++ b/doc/README.mdtoc @@ -138,6 +138,20 @@ tag: v0.2.0 $ git checkout v0.2.0 +### Homebrew on Mac OS X ### + +You can also install rbenv using the +[Homebrew](http://mxcl.github.com/homebrew/) package manager on Mac OS +X. + + $ brew update + $ brew install rbenv + +You'll need to add rbenv's shims directory to your path afterwards +(installation step 3 above). Follow the instructions above for +installing Ruby versions. (The ruby-build package can be installed +with Homebrew as well.) + ## Usage ## Like `git`, the `rbenv` command delegates to subcommands based on its