Created
March 7, 2011 14:03
-
-
Save biow0lf/858541 to your computer and use it in GitHub Desktop.
ruby enterprise edition
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/Library/Formula/ruby-enterprise-edition.rb b/Library/Formula/ruby-enterprise-edition.rb | |
index 593fab2..6868850 100644 | |
--- a/Library/Formula/ruby-enterprise-edition.rb | |
+++ b/Library/Formula/ruby-enterprise-edition.rb | |
@@ -17,6 +17,7 @@ class RubyEnterpriseEdition <Formula | |
readline = Formula.factory('readline').prefix | |
fails_with_llvm "fails with LLVM" | |
+ ENV.gcc_4_2 if MACOS_VERSION == 10.7 | |
args = ['./installer', "--auto", prefix, '--no-tcmalloc'] | |
args << '-c' << '--enable-shared' if ARGV.include? '--enable-shared' | |
# Configure will complain that this is an unknown option, but it is actually OK |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment