aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAdam Vandenberg2010-04-05 16:24:39 -0700
committerAdam Vandenberg2010-04-05 16:26:30 -0700
commita7e56ec500a15965c94246b8af56adca16aa51ae (patch)
tree9fe0904769c9e09f093842a588bc1ce42eebde9f /Library/Formula
parent615808d38a96f8393a9d920bb8e16f6f7a4a940b (diff)
downloadhomebrew-a7e56ec500a15965c94246b8af56adca16aa51ae.tar.bz2
Ruby Enterprise Edition depends on readline for unicode support.
(For reference, the Ruby 1.9 formula also depends on readline.) This fixes #882.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/ruby-enterprise-edition.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/Library/Formula/ruby-enterprise-edition.rb b/Library/Formula/ruby-enterprise-edition.rb
index fe2671a8e..2f67e119e 100644
--- a/Library/Formula/ruby-enterprise-edition.rb
+++ b/Library/Formula/ruby-enterprise-edition.rb
@@ -5,6 +5,8 @@ class RubyEnterpriseEdition <Formula
md5 '587aaea02c86ddbb87394a340a25e554'
homepage 'http://rubyenterpriseedition.com/'
+ depends_on 'readline'
+
skip_clean 'bin/ruby'
aka :ree
@@ -12,13 +14,12 @@ class RubyEnterpriseEdition <Formula
def install
ENV.gcc_4_2 # fails with LLVM
args = ['./installer', "--auto", prefix, '--no-tcmalloc']
- args.push('-c --enable-shared') if ARGV.include?('--enable-shared')
+ args << '-c' << '--enable-shared' if ARGV.include?('--enable-shared')
system *args
end
def caveats; <<-EOS.undent
By default we don't compile REE as a shared library. From their documentation:
-
Please note that enabling --enable-shared will make the Ruby interpreter
about 20% slower.
@@ -26,7 +27,6 @@ class RubyEnterpriseEdition <Formula
acceptable and even desirable.
If you need REE to be compiled as a shared library, you can re-compile like so:
-
brew install ruby-enterprise-edition --force --enable-shared
EOS
end