doctor: update ruby version check

This commit is contained in:
Jack Nagel 2013-05-07 19:22:31 -05:00
parent 14bc883750
commit f61a4f8893

View File

@ -363,12 +363,11 @@ def check_access_logs
end end
end end
def check_usr_bin_ruby def check_ruby_version
if /^1\.9/.match RUBY_VERSION if RUBY_VERSION.to_f > 1.8 then <<-EOS.undent
<<-EOS.undent Ruby version #{RUBY_VERSION} is unsupported.
Ruby version #{RUBY_VERSION} is unsupported. Homebrew is developed and tested on Ruby 1.8.x, and may not work correctly
Homebrew is developed and tested on Ruby 1.8.x, and may not work correctly on other Rubies. Patches are accepted as long as they don't break on 1.8.x.
on other Rubies. Patches are accepted as long as they don't break on 1.8.x.
EOS EOS
end end
end end