From fb2d0caa94003d91b85b5927998d4b5bbb1211f8 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Wed, 30 Jan 2013 21:25:31 -0800 Subject: rubinius: use new ruby function. Closes #17425 --- Library/Formula/rubinius.rb | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) (limited to 'Library/Formula') 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) -- cgit v1.2.3