aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorChristian Höltje2013-01-26 01:36:48 -0500
committerJack Nagel2013-01-26 11:30:18 -0600
commitb0f80273cdd5f4a9ef15283dc0d0c31b71d6657c (patch)
tree76d3a50413d6aa08a16fa567f611b300942b8f5c /Library/Formula
parentafcb3d062f2a33f7cb1573829711049031a86430 (diff)
downloadhomebrew-b0f80273cdd5f4a9ef15283dc0d0c31b71d6657c.tar.bz2
ruby: use opt_prefix in caveats
The gem's bindir is available in the opt_prefix; use that instead of the Cellar location in the caveat. Closes #17315. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/ruby.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/ruby.rb b/Library/Formula/ruby.rb
index 3a07943ef..aba1123e9 100644
--- a/Library/Formula/ruby.rb
+++ b/Library/Formula/ruby.rb
@@ -58,7 +58,7 @@ class Ruby < Formula
def caveats; <<-EOS.undent
NOTE: By default, gem installed binaries will be placed into:
- #{bin}
+ #{opt_prefix}/bin
You may want to add this to your PATH.
EOS