aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/extend
diff options
context:
space:
mode:
authorMike McQuaid2017-09-15 11:26:02 +0100
committerGitHub2017-09-15 11:26:02 +0100
commitc0063bb827ffa9cd537a0ca107aa05ca1323393c (patch)
tree115655b64f650feb715c6e884d72e5a0c4be4434 /Library/Homebrew/extend
parent2e43d95498eedd3c61f7c013a0a419c2c0aac098 (diff)
parente12d2746b65d46f07e3ecc737d07926118dfb278 (diff)
downloadbrew-c0063bb827ffa9cd537a0ca107aa05ca1323393c.tar.bz2
Merge pull request #3156 from MikeMcQuaid/allow-developer-custom-ruby
os/mac/diagnostic: allow custom Ruby for devs.
Diffstat (limited to 'Library/Homebrew/extend')
-rw-r--r--Library/Homebrew/extend/os/mac/diagnostic.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Homebrew/extend/os/mac/diagnostic.rb b/Library/Homebrew/extend/os/mac/diagnostic.rb
index 0cdd7b115..ab5433565 100644
--- a/Library/Homebrew/extend/os/mac/diagnostic.rb
+++ b/Library/Homebrew/extend/os/mac/diagnostic.rb
@@ -197,6 +197,7 @@ module Homebrew
def check_ruby_version
ruby_version = "2.0"
return if RUBY_VERSION[/\d\.\d/] == ruby_version
+ return if ARGV.homebrew_developer? && OS::Mac.prerelease?
<<-EOS.undent
Ruby version #{RUBY_VERSION} is unsupported on #{MacOS.version}. Homebrew