mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-15 19:56:59 +08:00
Update build error config dump for Ruby 2.0
This commit is contained in:
parent
1d120c3f29
commit
cad5704fc7
@ -103,7 +103,11 @@ module Homebrew extend self
|
|||||||
puts "OS X: #{MACOS_FULL_VERSION}-#{kernel}"
|
puts "OS X: #{MACOS_FULL_VERSION}-#{kernel}"
|
||||||
puts "Xcode: #{xcode}" if xcode
|
puts "Xcode: #{xcode}" if xcode
|
||||||
puts "CLT: #{clt}" if clt
|
puts "CLT: #{clt}" if clt
|
||||||
puts "#{RUBY_PATH}:\n #{RUBY_VERSION}-#{RUBY_PATCHLEVEL}" if RUBY_VERSION.to_f != 1.8
|
|
||||||
|
ruby_version = MacOS.version >= "10.9" ? "2.0" : "1.8"
|
||||||
|
if RUBY_VERSION[/\d\.\d/] != ruby_version
|
||||||
|
puts "#{RUBY_PATH}:\n #{RUBY_VERSION}-#{RUBY_PATCHLEVEL}"
|
||||||
|
end
|
||||||
|
|
||||||
unless MacOS.compilers_standard?
|
unless MacOS.compilers_standard?
|
||||||
puts "GCC-4.0: build #{gcc_40}" if gcc_40
|
puts "GCC-4.0: build #{gcc_40}" if gcc_40
|
||||||
|
Loading…
x
Reference in New Issue
Block a user