diff options
| author | Shannon Skipper | 2014-11-23 10:45:15 -0800 |
|---|---|---|
| committer | Mike McQuaid | 2014-11-23 21:24:00 +0000 |
| commit | 38fbb9134d93934b8a91b7b4c4e47c5480c63a42 (patch) | |
| tree | 6f0b7453d6f82053cfadf3a7348de7f3451fdefa /Library | |
| parent | d79ab93dbf3b5692d895a2caddb91e1ef70f93f7 (diff) | |
| download | homebrew-38fbb9134d93934b8a91b7b4c4e47c5480c63a42.tar.bz2 | |
chruby: suggest appending to RUBIES in caveats.
Closes #34400.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/chruby.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Library/Formula/chruby.rb b/Library/Formula/chruby.rb index 888dc0a3c..8b375ce79 100644 --- a/Library/Formula/chruby.rb +++ b/Library/Formula/chruby.rb @@ -20,16 +20,16 @@ class Chruby < Formula ~/.rubies/. For non-standard installation locations, simply set the RUBIES variable after loading chruby.sh: - RUBIES=( + RUBIES+=( /opt/jruby-1.7.0 $HOME/src/rubinius ) If you are migrating from another Ruby manager, set `RUBIES` accordingly: - RVM: RUBIES=(~/.rvm/rubies/*) - rbenv: RUBIES=(~/.rbenv/versions/*) - rbfu: RUBIES=(~/.rbfu/rubies/*) + RVM: RUBIES+=(~/.rvm/rubies/*) + rbenv: RUBIES+=(~/.rbenv/versions/*) + rbfu: RUBIES+=(~/.rbfu/rubies/*) To enable auto-switching of Rubies specified by .ruby-version files, add the following to ~/.bashrc or ~/.zshrc: |
