Remove dollar signs so commands can be copied and pasted without modification

This commit is contained in:
Erik Michaels-Ober 2012-11-05 08:10:53 -08:00
parent 3fed3b492f
commit 37dace69da

View file

@ -15,7 +15,7 @@ need precise control over Ruby version installation.
Installing ruby-build as an rbenv plugin will give you access to the
`rbenv install` command.
$ git clone git://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build
git clone git://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build
This will install the latest development version of ruby-build into
the `~/.rbenv/plugins/ruby-build` directory. From that directory, you
@ -29,9 +29,9 @@ the `ruby-build` command for precise control over Ruby version
installation. If you have rbenv installed, you will also be able to
use the `rbenv install` command.
$ git clone git://github.com/sstephenson/ruby-build.git
$ cd ruby-build
$ ./install.sh
git clone git://github.com/sstephenson/ruby-build.git
cd ruby-build
./install.sh
This will install ruby-build into `/usr/local`. If you do not have
write permission to `/usr/local`, you will need to run `sudo
@ -51,11 +51,11 @@ installed, you will also be able to use the `rbenv install` command.
*This is the recommended method of installation if you installed rbenv
with Homebrew.*
$ brew install ruby-build
brew install ruby-build
Or, if you would like to install the latest development release:
$ brew install --HEAD ruby-build
brew install --HEAD ruby-build
## Usage
@ -65,7 +65,7 @@ Or, if you would like to install the latest development release:
To install a Ruby version for use with rbenv, run `rbenv install` with
the exact name of the version you want to install. For example,
$ rbenv install 1.9.3-p286
rbenv install 1.9.3-p286
Ruby versions will be installed into a directory of the same name
under `~/.rbenv/versions`.
@ -84,7 +84,7 @@ Run the `ruby-build` command with the exact name of the version you
want to install and the full path where you want to install it. For
example,
$ ruby-build 1.9.3-p286 ~/local/ruby-1.9.3-p286
ruby-build 1.9.3-p286 ~/local/ruby-1.9.3-p286
To see a list of all available Ruby versions, run `ruby-build
--definitions`.