aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/ruby.rb
diff options
context:
space:
mode:
authorJack Nagel2014-12-24 13:01:54 -0500
committerJack Nagel2014-12-24 13:01:54 -0500
commit780bb279bfe636044b800b1dd4e8d7bd67590781 (patch)
tree9d47b03098db64033d3bcb528edcb21e09f00a34 /Library/Formula/ruby.rb
parent6c2632f93b67690165c7f597850173d979ae961f (diff)
downloadhomebrew-780bb279bfe636044b800b1dd4e8d7bd67590781.tar.bz2
ruby: fix for --with-suffix
Diffstat (limited to 'Library/Formula/ruby.rb')
-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 c0a16a9bc..e8bd7fe06 100644
--- a/Library/Formula/ruby.rb
+++ b/Library/Formula/ruby.rb
@@ -143,7 +143,7 @@ class Ruby < Formula
end
def self.ruby
- "#{opt_bin}/ruby"
+ "#{opt_bin}/ruby#{"21" if build.with? "suffix"}"
end
end
EOS