Add Homebrew to the readme

This commit is contained in:
Sam Stephenson 2011-09-28 12:19:36 -05:00
parent 828051e651
commit 53d45707ca
2 changed files with 29 additions and 0 deletions

View file

@ -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
### <a name="section_2.2"></a> 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.)
## <a name="section_3"></a> 3 Usage
Like `git`, the `rbenv` command delegates to subcommands based on its

View file

@ -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