From b4c100e1491c7e4fbc6f256bccaaa0cc0f35851d Mon Sep 17 00:00:00 2001 From: Chris Ledet Date: Thu, 11 Aug 2011 22:19:33 -0400 Subject: [PATCH] use HOME variable when specifying the install dir --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e2a9fa85..7db3ed15 100644 --- a/README.md +++ b/README.md @@ -101,14 +101,14 @@ can manually add `$HOME/.rbenv/shims` to your path in step 2.) 5. Install Ruby versions into `~/.rbenv/versions`. For example, to install Ruby 1.9.2-p290, download and unpack the source, then run: - $ ./configure --prefix=~/.rbenv/versions/1.9.2-p290 + $ ./configure --prefix=$HOME/.rbenv/versions/1.9.2-p290 $ make $ make install The [ruby-build](https://github.com/sstephenson/ruby-build) project simplifies this process to a single command: - $ ruby-build 1.9.2-p290 ~/.rbenv/versions/1.9.2-p290 + $ ruby-build 1.9.2-p290 $HOME/.rbenv/versions/1.9.2-p290 6. Rebuild the shim binaries. You should do this any time you install a new Ruby binary (for example, when installing a new Ruby version, or