aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorMike McQuaid2013-01-30 21:25:31 -0800
committerMike McQuaid2013-01-30 21:51:21 -0800
commitfb2d0caa94003d91b85b5927998d4b5bbb1211f8 (patch)
tree6cf2d759dc7205dc6e5d4a448e9d502114e50e40 /Library/Formula
parentec272f2be52431c0914d34eac217ce37bb1176d2 (diff)
downloadhomebrew-fb2d0caa94003d91b85b5927998d4b5bbb1211f8.tar.bz2
rubinius: use new ruby function.
Closes #17425
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/rubinius.rb20
1 files changed, 9 insertions, 11 deletions
diff --git a/Library/Formula/rubinius.rb b/Library/Formula/rubinius.rb
index 61f4f85ee..e79f3af4d 100644
--- a/Library/Formula/rubinius.rb
+++ b/Library/Formula/rubinius.rb
@@ -17,20 +17,18 @@ class Rubinius < Formula
# Set to stop Rubinius messing with our prefix.
ENV["RELEASE"] = "1"
- ruby = "/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby"
-
- system ruby, "./configure",
- "--skip-system", # download and use the prebuilt LLVM
- "--bindir", bin,
- "--prefix", prefix,
- "--includedir", "#{include}/rubinius",
- "--libdir", lib,
- "--mandir", man, # For completeness; no manpages exist yet.
- "--gemsdir", "#{lib}/rubinius/gems"
+ ruby "./configure",
+ "--skip-system", # download and use the prebuilt LLVM
+ "--bindir", bin,
+ "--prefix", prefix,
+ "--includedir", "#{include}/rubinius",
+ "--libdir", lib,
+ "--mandir", man, # For completeness; no manpages exist yet.
+ "--gemsdir", "#{lib}/rubinius/gems"
ohai "config.rb", File.open('config.rb').to_a if ARGV.debug? or ARGV.verbose?
- system ruby, "-S", "rake", "install"
+ ruby "-S", "rake", "install"
# Remove conflicting command aliases
bin.children.select(&:symlink?).each(&:unlink)