aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhavenwood2013-08-14 14:33:53 -0700
committerAdam Vandenberg2013-08-14 19:47:14 -0700
commit451e3054d6af1d45847185778e853daaf7cbb814 (patch)
treefb61703c4d205990b8079ccb5c1a17e3096710cc
parent3ecf7269fad1c8cbe7b45105e17a60727cd4bc9d (diff)
downloadhomebrew-451e3054d6af1d45847185778e853daaf7cbb814.tar.bz2
chruby: Fix typo and update dotfiles in caveats.
Closes #21903. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
-rw-r--r--Library/Formula/chruby.rb7
1 files changed, 3 insertions, 4 deletions
diff --git a/Library/Formula/chruby.rb b/Library/Formula/chruby.rb
index 815669dd6..327f517b1 100644
--- a/Library/Formula/chruby.rb
+++ b/Library/Formula/chruby.rb
@@ -12,8 +12,7 @@ class Chruby < Formula
end
def caveats; <<-EOS.undent
- Add the following to the /etc/profile.d/chruby.sh, ~/.bashrc or
- ~/.zshrc file:
+ Add the following to the ~/.bashrc or ~/.zshrc file:
source #{HOMEBREW_PREFIX}/opt/chruby/share/chruby/chruby.sh
@@ -30,10 +29,10 @@ class Chruby < Formula
RVM: RUBIES=(~/.rvm/rubies/*)
rbenv: RUBIES=(~/.rbenv/versions/*)
- rbfu: RUBIES=('~/.rbfu/rubies/*)
+ rbfu: RUBIES=(~/.rbfu/rubies/*)
To enable auto-switching of Rubies specified by .ruby-version files,
- add the following to ~/.bash_profile or ~/.zshrc:
+ add the following to ~/.bashrc or ~/.zshrc:
source #{HOMEBREW_PREFIX}/opt/chruby/share/chruby/auto.sh
EOS