From 89bb6664c48c54c3ff281d5b497b8d84143f5549 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Sat, 6 Apr 2013 13:09:24 -0500 Subject: [PATCH] Replace literal paths to ruby with RUBY_PATH --- Library/Homebrew/cmd/--config.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/cmd/--config.rb b/Library/Homebrew/cmd/--config.rb index 1143d5d00e..77ee3a219d 100644 --- a/Library/Homebrew/cmd/--config.rb +++ b/Library/Homebrew/cmd/--config.rb @@ -107,7 +107,7 @@ module Homebrew extend self puts "OS X: #{MACOS_FULL_VERSION}-#{kernel}" puts "Xcode: #{xcode}" if xcode puts "CLT: #{clt}" if clt - puts "/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby:\n #{RUBY_VERSION}-#{RUBY_PATCHLEVEL}" if RUBY_VERSION.to_f != 1.8 + puts "#{RUBY_PATH}:\n #{RUBY_VERSION}-#{RUBY_PATCHLEVEL}" if RUBY_VERSION.to_f != 1.8 unless MacOS.compilers_standard? puts "GCC-4.0: build #{gcc_40}" if gcc_40