From e9779f7ce88349ddfd97aeddc6e923d8f8ead2c6 Mon Sep 17 00:00:00 2001 From: havenwood Date: Sat, 6 Jul 2013 17:19:45 -0700 Subject: chruby: dotfiles updated to reflect support of non-interactive mode Closes #21048. Signed-off-by: Jack Nagel --- Library/Formula/chruby.rb | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'Library/Formula') 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 -- cgit v1.2.3