rbenv: update caveats to only load if present
Signed-off-by: Adam Vandenberg <flangy@gmail.com>master
parent
5f6180a0df
commit
fadd2315c6
|
@ -13,7 +13,7 @@ class Rbenv < Formula
|
|||
|
||||
def caveats; <<-EOS.undent
|
||||
To enable shims and autocompletion, add rbenv init to your profile:
|
||||
eval "$(rbenv init -)"
|
||||
if which rbenv > /dev/null; then eval "$(rbenv init -)"; fi
|
||||
EOS
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue