aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Selik2013-03-23 14:50:12 -0300
committerMike McQuaid2013-03-23 20:58:01 +0000
commit5c192295157a2be2777e2b77af9760f48077c657 (patch)
tree42e3dc8e99395579e1a01e7835c899e9b9a6ac78
parent34357dac5276377ac10d8f90a98c7ed1a01fadd5 (diff)
downloadhomebrew-5c192295157a2be2777e2b77af9760f48077c657.tar.bz2
rbenv: flip caveats order
The instructions should be in the reverse order. The root path needs to be set before enabling shims. Closes #18682. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
-rw-r--r--Library/Formula/rbenv.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/Library/Formula/rbenv.rb b/Library/Formula/rbenv.rb
index 146a5c769..b9fa79a66 100644
--- a/Library/Formula/rbenv.rb
+++ b/Library/Formula/rbenv.rb
@@ -13,11 +13,11 @@ class Rbenv < Formula
end
def caveats; <<-EOS.undent
- To enable shims and autocompletion add to your profile:
- if which rbenv > /dev/null; then eval "$(rbenv init -)"; fi
-
To use Homebrew's directories rather than ~/.rbenv add to your profile:
export RBENV_ROOT=#{var}/rbenv
+
+ To enable shims and autocompletion add to your profile:
+ if which rbenv > /dev/null; then eval "$(rbenv init -)"; fi
EOS
end
end