diff options
| author | Adam Vandenberg | 2010-09-24 08:17:43 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2010-09-24 08:17:43 -0700 |
| commit | 648b2f1355484a29388a48fd0b1da141cd12b303 (patch) | |
| tree | c9c0a65d7c25b2fb5d257289ae637e4f713d8011 /Library | |
| parent | 5bc0ca46fa58cb21ce62891bd0dac241848c2612 (diff) | |
| download | homebrew-648b2f1355484a29388a48fd0b1da141cd12b303.tar.bz2 | |
rubinius - force use of system ruby (1.8.x)
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/rubinius.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Library/Formula/rubinius.rb b/Library/Formula/rubinius.rb index fae7732e2..e46fada20 100644 --- a/Library/Formula/rubinius.rb +++ b/Library/Formula/rubinius.rb @@ -16,6 +16,11 @@ class Rubinius < Formula ENV['RELEASE'] = version # to fix issues with "path already exists" + # The configure script uses "#!/usr/bin/env ruby" but complains if you + # aren't using 1.8, so replace it with the path to the OS X system ruby. + # (If the user has replaces their system ruby, well, don't do that.) + inreplace 'configure', "#!/usr/bin/env ruby", "#!/usr/bin/ruby" + # "--skip-system" means to use the included LLVM system "./configure", "--skip-system", "--prefix", prefix, |
