aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/ruby.rb
diff options
context:
space:
mode:
authorJack Nagel2014-03-20 14:05:19 -0500
committerJack Nagel2014-03-20 21:44:13 -0500
commitf57e2e479cbf717f9e14f40e9c45841f760bf245 (patch)
tree518daacb7c954c31ea547b75a6b3b88325dc9bf7 /Library/Formula/ruby.rb
parent756f95d957bd6e88eef1aea6c49a0018e1f4667d (diff)
downloadhomebrew-f57e2e479cbf717f9e14f40e9c45841f760bf245.tar.bz2
ruby: use patch DSL
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 95be8c1da..355156f6d 100644
--- a/Library/Formula/ruby.rb
+++ b/Library/Formula/ruby.rb
@@ -30,7 +30,7 @@ class Ruby < Formula
# pthread_setname_np() is unavailable before Snow Leopard
# Reported upstream: https://bugs.ruby-lang.org/issues/9492
- def patches; DATA; end if MacOS.version < :snow_leopard
+ patch :DATA if MacOS.version < :snow_leopard
def install
system "autoconf" if build.head?