doctor: update ruby version check
This commit is contained in:
parent
14bc883750
commit
f61a4f8893
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user