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>
This commit is contained in:
Michael Selik authored and Mike McQuaid committed 2013-03-23 20:58:01 +00:00
1 parent 34357dac52
commit 5c19229515
1 file changed
+3 -3
+3 -3
View File
@@ -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