Skip to content

Instantly share code, notes, and snippets.

@biow0lf
Created March 7, 2011 14:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save biow0lf/858541 to your computer and use it in GitHub Desktop.
Save biow0lf/858541 to your computer and use it in GitHub Desktop.
ruby enterprise edition
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