From 780bb279bfe636044b800b1dd4e8d7bd67590781 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Wed, 24 Dec 2014 13:01:54 -0500 Subject: ruby: fix for --with-suffix --- Library/Formula/ruby.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library/Formula') 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 -- cgit v1.2.3