aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorhavenwood2013-07-06 17:19:45 -0700
committerJack Nagel2013-07-06 19:42:28 -0500
commite9779f7ce88349ddfd97aeddc6e923d8f8ead2c6 (patch)
tree162d2bf4034b68f3a1c0ec97aacac4f30d1be594 /Library/Formula
parent8153df6d61ff1de919f9f8222d3f1a81473a5e13 (diff)
downloadhomebrew-e9779f7ce88349ddfd97aeddc6e923d8f8ead2c6.tar.bz2
chruby: dotfiles updated to reflect support of non-interactive mode
Closes #21048. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/chruby.rb7
1 files changed, 4 insertions, 3 deletions
diff --git a/Library/Formula/chruby.rb b/Library/Formula/chruby.rb
index d2c0d44ed..815669dd6 100644
--- a/Library/Formula/chruby.rb
+++ b/Library/Formula/chruby.rb
@@ -12,8 +12,8 @@ class Chruby < Formula
end
def caveats; <<-EOS.undent
- Add the following to the /etc/profile.d/chruby.sh, ~/.bash_profile or
- ~/.zprofile file:
+ Add the following to the /etc/profile.d/chruby.sh, ~/.bashrc or
+ ~/.zshrc file:
source #{HOMEBREW_PREFIX}/opt/chruby/share/chruby/chruby.sh
@@ -32,7 +32,8 @@ class Chruby < Formula
rbenv: RUBIES=(~/.rbenv/versions/*)
rbfu: RUBIES=('~/.rbfu/rubies/*)
- To enable auto-switching of Rubies specified by .ruby-version files:
+ To enable auto-switching of Rubies specified by .ruby-version files,
+ add the following to ~/.bash_profile or ~/.zshrc:
source #{HOMEBREW_PREFIX}/opt/chruby/share/chruby/auto.sh
EOS