aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/chruby.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/chruby.rb')
-rw-r--r--Library/Formula/chruby.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Formula/chruby.rb b/Library/Formula/chruby.rb
index c86b13842..888dc0a3c 100644
--- a/Library/Formula/chruby.rb
+++ b/Library/Formula/chruby.rb
@@ -14,7 +14,7 @@ class Chruby < Formula
def caveats; <<-EOS.undent
Add the following to the ~/.bashrc or ~/.zshrc file:
- source #{opt_prefix}/share/chruby/chruby.sh
+ source #{opt_share}/chruby/chruby.sh
By default chruby will search for Rubies installed into /opt/rubies/ or
~/.rubies/. For non-standard installation locations, simply set the RUBIES
@@ -34,7 +34,7 @@ class Chruby < Formula
To enable auto-switching of Rubies specified by .ruby-version files,
add the following to ~/.bashrc or ~/.zshrc:
- source #{opt_prefix}/share/chruby/auto.sh
+ source #{opt_share}/chruby/auto.sh
EOS
end
end