Redact ree.
This formula has not been updated despite having a newer version upstream so assuming that it isn't installed via Homebrew anymore. Removing since there are multiple maintained ruby builder scripts out there for people who still want to install this version. Closes Homebrew/homebrew#20422.
This commit is contained in:
parent
49b03d8a36
commit
6240b2365a
1 changed files with 0 additions and 38 deletions
|
@ -1,38 +0,0 @@
|
|||
require 'formula'
|
||||
|
||||
class RubyEnterpriseEdition < Formula
|
||||
homepage 'http://rubyenterpriseedition.com/'
|
||||
url 'http://rubyenterpriseedition.googlecode.com/files/ruby-enterprise-1.8.7-2011.03.tar.gz'
|
||||
sha1 '662f37afbe04f3a55ac3b119227a2cd4e53745bf'
|
||||
|
||||
env :std
|
||||
|
||||
option 'enable-shared', "Compile shared, but see caveats"
|
||||
|
||||
depends_on 'readline'
|
||||
|
||||
fails_with :llvm
|
||||
|
||||
def install
|
||||
readline = Formula.factory('readline').prefix
|
||||
|
||||
args = ["--auto", prefix, '--no-tcmalloc']
|
||||
args << '-c' << '--enable-shared' if build.include? 'enable-shared'
|
||||
# Configure will complain that this is an unknown option, but it is actually OK
|
||||
args << '-c' << "--with-readline-dir=#{readline}"
|
||||
system './installer', *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.
|
||||
|
||||
For desktop environments (particularly ones requiring RubyCocoa) this is
|
||||
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
|
||||
end
|
Loading…
Reference in a new issue