mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-12-01 04:59:47 -05:00
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:
1 parent
34357dac52
commit
5c19229515
1 file changed
+3
-3
@@ -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
|
||||
Reference in new issue
Block a user